aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/cerl/erl_bif_types.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2011-04-30 10:48:32 +0300
committerHenrik Nord <[email protected]>2011-05-02 11:15:24 +0200
commit1abe7a395c70c016f1a4ea3c6651ccce3f704d54 (patch)
tree4e2c45659f9472988207cb3a8c1c2811f6f5b02c /lib/hipe/cerl/erl_bif_types.erl
parentba73458d6e6d8bcea364e610ca9262bea7e27b51 (diff)
downloadotp-1abe7a395c70c016f1a4ea3c6651ccce3f704d54.tar.gz
otp-1abe7a395c70c016f1a4ea3c6651ccce3f704d54.tar.bz2
otp-1abe7a395c70c016f1a4ea3c6651ccce3f704d54.zip
Fix the argument of erlang:list_to_bitstring/1
Diffstat (limited to 'lib/hipe/cerl/erl_bif_types.erl')
-rw-r--r--lib/hipe/cerl/erl_bif_types.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hipe/cerl/erl_bif_types.erl b/lib/hipe/cerl/erl_bif_types.erl
index 30b911c41b..c009164f4c 100644
--- a/lib/hipe/cerl/erl_bif_types.erl
+++ b/lib/hipe/cerl/erl_bif_types.erl
@@ -45,6 +45,7 @@
t_atom_vals/1,
t_binary/0,
t_bitstr/0,
+ t_bitstrlist/0,
t_boolean/0,
t_byte/0,
t_char/0,
@@ -3552,7 +3553,7 @@ arg_types(erlang, list_to_binary, 1) ->
arg_types(erlang, list_to_bitstr, 1) -> % XXX: TAKE OUT
arg_types(erlang, list_to_bitstring, 1);
arg_types(erlang, list_to_bitstring, 1) ->
- [t_iolist()];
+ [t_bitstrlist()];
arg_types(erlang, list_to_existing_atom, 1) ->
[t_string()];
arg_types(erlang, list_to_float, 1) ->