[erlang-questions] bug in erlang:size

Joe Armstrong erlang@REDACTED
Fri Aug 3 11:12:02 CEST 2012


I think this is a bug:

$erl
1> B = <<1:17>>.
<<0,0,1:1>>
2> size(B)
2


B is not a binary or tuple to size(B) should give badarg

/Joe



More information about the erlang-questions mailing list