From c95ec5e26173da65f74e63aa15fe9d8494fc3627 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Wed, 16 Jan 2013 12:24:14 +0100 Subject: Correct recently introduced Unicode related type errors --- lib/compiler/src/compile.erl | 4 ++-- lib/stdlib/src/unicode.erl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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' -- cgit v1.2.3