erlc returns error with parameterized module having binary comprehension

Jebu Ittiachen <>
Thu Feb 11 08:55:00 CET 2010

  When compiling the attached file I get the following error

$ erlc bug.erl
./bug.erl:none: internal error in expand_module;
crash reason: {function_clause,

  The same works fine when I remove the module parameters. Any idea why this
would be happening?
Jebu Ittiachen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.erl
Type: application/octet-stream
Size: 90 bytes
Desc: not available
URL: <>

More information about the erlang-questions mailing list