[erlang-patches] Bit string generators, unsized binaries, modules and the REPL

Björn Gustavsson <>
Thu Apr 4 15:46:58 CEST 2013

On Sun, Mar 31, 2013 at 4:22 PM, Anthony Ramine <> wrote:

> This patch implements this new error and simplifies how v3_core works with
> forbidden unsized tail segments in patterns of bit string generators.
>         git fetch https://github.com/nox/otp illegal-bitstring-gen-pattern
> https://github.com/nox/otp/compare/erlang:maint...illegal-bitstring-gen-pattern
> https://github.com/nox/otp/compare/erlang:maint...illegal-bitstring-gen-pattern.patch
> Looking at the commit 5daa001 by Björn Gustavsson "Don't generate multiple
> tail segments in binary matching", this patch will probably by rejected as
> it seems the compiler behaves as wanted by the OTP team. If this is indeed
> the case, erl_eval should be fixed.
Not really. I noticed that the implementation was flaky and
fixed it.

The Technical Board will discuss the matter.

Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20130404/3314ebd6/attachment.html>

More information about the erlang-patches mailing list