Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation of bindings inside bad map updates #2

Open
nox opened this issue May 4, 2014 · 0 comments
Open

Fix compilation of bindings inside bad map updates #2

nox opened this issue May 4, 2014 · 0 comments
Labels

Comments

@nox
Copy link
Owner

nox commented May 4, 2014

The following code can make the compiler crash:

-module(bug).
-compile(export_all).

f1() ->
    a = b#{c => X = 0},
    #{c => X}.

f2() ->
    a = {X = 0}#{},
    #{a => X}.

See output file bug.core of erlc +to_core0 bug.erl for more details.

@nox nox added the compiler label Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant