Skip to content

[cfe] co19/LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t27 failure #48577

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

Closed
eernstg opened this issue Mar 16, 2022 · 9 comments
Closed
Assignees
Labels
front-end-missing-error legacy-area-front-end Legacy: Use area-dart-model instead.

Comments

@eernstg
Copy link
Member

eernstg commented Mar 16, 2022

Said test causes a failure, cf. dart-lang/co19#1316. The failure is a missing compile-time error for a mixin that declares an operator == and has Enum as a superinterface (cf. https://github.com/dart-lang/language/blob/master/accepted/future-releases/enhanced-enums/feature-specification.md#implementing-enum-and-enum-types).

The test needs an adjustment as well, that will occur separately, dart-lang/co19#1319.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

Similar issue with co19/LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t26 (in this case it's the other error message about nearly the same topic).

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

Same issue with co19/LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t25.

@chloestefantsova
Copy link
Contributor

I'm working on a fix at https://dart-review.googlesource.com/c/sdk/+/237580.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

A similar issue arises for hashCode in LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t23.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

Variant of the issue above with hashCode in LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t21.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

One more variant with hashCode in LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t19.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

One more variant with hashCode in LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t17.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

One more variant with hashCode in LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t15.

Fault in test handled separately, cf. dart-lang/co19#1321.

@eernstg
Copy link
Member Author

eernstg commented Mar 16, 2022

One more variant in LanguageFeatures/Enhanced-Enum/implementing_enum_A04_t13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end-missing-error legacy-area-front-end Legacy: Use area-dart-model instead.
Projects
None yet
Development

No branches or pull requests

2 participants