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

Properly handle redundant boolean clauses in sys_core_fold #280

Merged
merged 1 commit into from
Mar 14, 2014

Conversation

nox
Copy link
Contributor

@nox nox commented Mar 8, 2014

Boolean case expressions with redundant clauses could make the compiler
crash:

case X == 0 of
    false -> no;
    false -> no;
    true -> yes
end.

@UlfNorell

Boolean case expressions with redundant clauses could make the compiler
crash:

    case X == 0 of
        false -> no;
        false -> no;
        true -> yes
    end.

Reported-by: Ulf Norell
@bjorng
Copy link
Contributor

bjorng commented Mar 13, 2014

Thanks! Included in our daily builds.

@bjorng bjorng closed this Mar 13, 2014
@nox
Copy link
Contributor Author

nox commented Mar 13, 2014

@bjorng Why did you close this?

@nox
Copy link
Contributor Author

nox commented Mar 13, 2014

Probably hit "Comment & close", am I right? :)

@bjorng bjorng reopened this Mar 13, 2014
@proxyles proxyles merged commit 4777f33 into erlang:master Mar 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants