CFE gives incorrect type error for constant argument to extension type constructor. #53610
Labels
cfe-feature-extension-types
Implement extension types feature in the CFE
feature-extension-types
Implementation of the extension type feature
legacy-area-front-end
Legacy: Use area-dart-model instead.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Example:
This gives the errors:
Analyzer has no error
Not sure which constant has which type, but the code is correct as written.
It seems to be a bug only in the constant evaluation, which does some type check using the wrong type.
The text was updated successfully, but these errors were encountered: