aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2013-01-16 12:24:14 +0100
committerHans Bolinder <[email protected]>2013-01-25 12:54:27 +0100
commitc95ec5e26173da65f74e63aa15fe9d8494fc3627 (patch)
treecbd98ff9e97c690d884404e8336c6fb189c11fc1
parentacd0ee9d1301a96f6f2fe1b19c12b3639c77c59e (diff)
downloadotp-c95ec5e26173da65f74e63aa15fe9d8494fc3627.tar.gz
otp-c95ec5e26173da65f74e63aa15fe9d8494fc3627.tar.bz2
otp-c95ec5e26173da65f74e63aa15fe9d8494fc3627.zip
Correct recently introduced Unicode related type errors
-rw-r--r--lib/compiler/src/compile.erl4
-rw-r--r--lib/stdlib/src/unicode.erl2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl
index 5f394f0b65..12595d1c87 100644
--- a/lib/compiler/src/compile.erl
+++ b/lib/compiler/src/compile.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2012. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2013. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -248,7 +248,7 @@ format_error({module_name,Mod,Filename}) ->
abstract_code=[], %Abstract code for debugger.
options=[] :: [option()], %Options for compilation
mod_options=[] :: [option()], %Options for module_info
- encoding=none :: none | epp:source_coding(),
+ encoding=none :: none | epp:source_encoding(),
errors=[],
warnings=[]}).
diff --git a/lib/stdlib/src/unicode.erl b/lib/stdlib/src/unicode.erl
index 10b652cdde..6b13ddb92d 100644
--- a/lib/stdlib/src/unicode.erl
+++ b/lib/stdlib/src/unicode.erl
@@ -24,7 +24,7 @@
bom_to_encoding/1, encoding_to_bom/1]).
-export_type([chardata/0, charlist/0, encoding/0, external_chardata/0,
- external_charlist/0, latin1_chardata/0,
+ external_charlist/0, latin1_char/0, latin1_chardata/0,
latin1_charlist/0, unicode_binary/0]).
-type encoding() :: 'latin1' | 'unicode' | 'utf8'