aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/cerl/erl_types.erl
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-12-16 15:54:31 +0100
committerPatrik Nyblom <[email protected]>2010-12-16 15:54:31 +0100
commitb3feb428e2489ef8813e36f14c3e8d9b4f4deaba (patch)
tree01ad3827850db2d9663bc010e333f6f765e477a8 /lib/hipe/cerl/erl_types.erl
parent8b92ac49d021b4634d660c5b2637c3ebec0f1d9f (diff)
downloadotp-b3feb428e2489ef8813e36f14c3e8d9b4f4deaba.tar.gz
otp-b3feb428e2489ef8813e36f14c3e8d9b4f4deaba.tar.bz2
otp-b3feb428e2489ef8813e36f14c3e8d9b4f4deaba.zip
Set types correctly for open_port({spawn_executable, ...
Diffstat (limited to 'lib/hipe/cerl/erl_types.erl')
-rw-r--r--lib/hipe/cerl/erl_types.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/hipe/cerl/erl_types.erl b/lib/hipe/cerl/erl_types.erl
index c8dc162457..080d6936b2 100644
--- a/lib/hipe/cerl/erl_types.erl
+++ b/lib/hipe/cerl/erl_types.erl
@@ -196,6 +196,7 @@
t_tuple_size/1,
t_tuple_sizes/1,
t_tuple_subtypes/1,
+ t_unicode_string/0,
t_unify/2,
t_unify/3,
t_unit/0,
@@ -1456,6 +1457,11 @@ 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() ->