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 sort map pairs in v3_codegen #263

Merged
merged 1 commit into from
Mar 6, 2014

Conversation

nox
Copy link
Contributor

@nox nox commented Mar 4, 2014

Literal nil values aren't tagged tuple but the bare atom nil.

The function lists:sort/2 expects the passed function to return true if the first element is less than or equal to the second, not strictly less than. The original base clause is changed accordingly.

@UlfNorell

Literal nil values aren't tagged tuple but the bare atom nil.

The function lists:sort/2 expects the passed function to return true if the first
element is less than or equal to the second, not strictly less than. The original
base clause is changed accordingly.

Reported-by: Ulf Norell
@psyeugenic
Copy link
Contributor

Björn and I have talked about changing the literals to be untyped. Just #c_literal{ val = V } or {literal, V} .. I believe that would simplify matters. Simplifications to be made down the road ..

LGTM

@psyeugenic psyeugenic self-assigned this Mar 4, 2014
@nox
Copy link
Contributor Author

nox commented Mar 4, 2014

Sweet. I would welcome that, that's the second patch related to this.

@psyeugenic
Copy link
Contributor

Added to daily builds.

@OTP-Maintainer
Copy link

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

@psyeugenic psyeugenic merged commit ee03d24 into erlang:master Mar 6, 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