/binary problem in R10B
Wed Nov 3 08:56:48 CET 2004
Matthias Lang wrote:
>Vance Shipley writes:
> > I keep looking at this thinking I must be doing something wrong as
> > it couldn't possibly be that broken.
>Remember, the shell isn't the same thing as the compiler. In older
>versions, the shell didn't handle records and there's a history of the
>shell not quite doing the same thing as the compiler with binaries.
>I tried your examples and they work just fine when compiled as proper
But this used to work:
Erlang (BEAM) emulator version 220.127.116.11.b1 [source] [hipe]
Eshell V18.104.22.168.b1 (abort with ^G)
1> <<G,H/binary>> = <<1,17,42:16>>.
and it is very convenient to have it working!
Looks like a bug to me...
More information about the erlang-questions