Properly detect nonboolean protected expressions in beam_bool #261

Merged
merged 1 commit into from Mar 6, 2014

Conversation

Projects
None yet
4 participants
Contributor

nox commented Mar 4, 2014

Silly code such as the following could make the compiler crash:

f() when erlang:float(self()); true -> ok.

@UlfNorell

@nox nox Properly detect nonboolean protected expressions in beam_bool
Silly code such as the following could make the compiler crash:

        f() when erlang:float(self()); true -> ok.

Reported-by: Ulf Norell
d5fc107
Contributor

bjorng commented Mar 4, 2014

Thanks! Will test in our daily builds.

Patch has passed first testings and has been assigned to be reviewed

@proxyles proxyles merged commit d5fc107 into erlang:master Mar 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment