aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2011-04-28 20:09:25 +0300
committerHenrik Nord <[email protected]>2011-05-02 11:15:24 +0200
commitba73458d6e6d8bcea364e610ca9262bea7e27b51 (patch)
treef6c0db02c6581c6d46d9fac12a3b8e41339dd1d9 /lib/hipe
parentb9903ed7c0c6946a84aca347005fa3e042769f9f (diff)
downloadotp-ba73458d6e6d8bcea364e610ca9262bea7e27b51.tar.gz
otp-ba73458d6e6d8bcea364e610ca9262bea7e27b51.tar.bz2
otp-ba73458d6e6d8bcea364e610ca9262bea7e27b51.zip
Move function to its proper place
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/cerl/erl_types.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/hipe/cerl/erl_types.erl b/lib/hipe/cerl/erl_types.erl
index 5d2f3bead9..5f97579c52 100644
--- a/lib/hipe/cerl/erl_types.erl
+++ b/lib/hipe/cerl/erl_types.erl
@@ -1457,11 +1457,6 @@ t_is_tuple(_) -> false.
%% Non-primitive types, including some handy syntactic sugar types
%%
--spec t_unicode_string() -> erl_type().
-
-t_unicode_string() ->
- t_list(t_unicode_char()).
-
-spec t_charlist() -> erl_type().
t_charlist() ->
@@ -1581,6 +1576,11 @@ t_unicode_binary() ->
t_unicode_char() ->
t_integer(). % representing a valid unicode codepoint
+-spec t_unicode_string() -> erl_type().
+
+t_unicode_string() ->
+ t_list(t_unicode_char()).
+
%%-----------------------------------------------------------------------------
%% Some built-in opaque types
%%