bug?

Michael Scholtz michael@REDACTED
Mon Dec 5 11:24:28 CET 2005


I got an error illegal bit size while compiling some code, so I tried 
inserting manual values, and got the following contradiction:

78> <<G:(size(<<8:8>>)*8)>> = <<8:8>>.
** 1: illegal bit size **
79> size(<<8:8>>).
1
80> <<G:(8)>> = <<8:8>>.
<<8>>

Bug ? Or am I missing something?



More information about the erlang-questions mailing list