-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Allow non-hot values in SeqLiterals #14794
Conversation
@liufengyun @olhotak I have not yet implemented the parametricity solution we discussed, as this change appears to solve all of the enum cases we were looking at ( This currently passes all of the enum test cases, but fails three neg tests:
Since we want I am less certain about the desired behaviour for the other two tests. Should they still trigger an error? |
Thanks Josh!
For |
I think I may have originally misunderstood. What do you mean by the |
I mean you can return |
7a79695
to
c01c30a
Compare
9858f5f
to
5aa4a79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
5aa4a79
to
ff64ce8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. There's a merge conflict in a .check
file that needs to be resolved.
Closes #14460, #14751 Do not ensure that elements in a SeqLiteral are Hot. Review by @liufengyun
ff64ce8
to
da09d3a
Compare
91e6f52
to
6ff1edd
Compare
Closes #14460, #14751
Do not ensure that elements in a SeqLiteral are Hot.
Review by @liufengyun