[erlang-bugs] Dialyzer does not recognize erlang:list_to_integer/2
Maxim Treskin
zerthurd@REDACTED
Thu Mar 25 05:51:42 CET 2010
Hello
Dialyzer prints out warning that erlang:list_to_integer/2 is Unknown.
[zert@REDACTED]:/tmp $>> cat tt.erl
-module(tt).
-compile([export_all]).
hex2i("0x" ++ L) -> erlang:list_to_integer(L, 16).
[zert@REDACTED]:/tmp $>> erlc +debug_info tt.erl
[zert@REDACTED]:/tmp $>> erl
Erlang R13B04 (erts-5.7.5) [source] [smp:2:2] [rq:2] [async-threads:0]
[hipe] [kernel-poll:false]
Eshell V5.7.5 (abort with ^G)
1> tt:hex2i("0x123").
291
2>
User switch command
--> q
[zert@REDACTED]:/tmp $>> dialyzer tt.beam
Checking whether the PLT /home/zert/.dialyzer_plt is up-to-date... yes
Proceeding with analysis...
Unknown functions:
erlang:list_to_integer/2
done in 0m3.19s
done (passed successfully)
--
Maxim Treskin
More information about the erlang-bugs
mailing list