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

Please reorder NullableAnnotation values to be in lattice order #33952

Closed
gafter opened this issue Mar 7, 2019 · 1 comment · Fixed by #34909
Closed

Please reorder NullableAnnotation values to be in lattice order #33952

gafter opened this issue Mar 7, 2019 · 1 comment · Fixed by #34909
Milestone

Comments

@gafter
Copy link
Member

gafter commented Mar 7, 2019

The values of NullableAnnotation are not in the order that they appear in the lattice. Please reorder them so that they are in lattice order; that would permit a much simpler implementation of Meet and Join.

@cston
Copy link
Member

cston commented Mar 7, 2019

The NullableAnnotation enum values are currently used as is in [NullableAttribute(values)] attributes in metadata, so changing the enum will be a breaking change unless we map to/from the current values when writing/reading metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants