Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Type spec lost on a class field when the imported type is overridden by another import #35613
This example will fail to compile with
I have only been able to repro this when:
This is definitely a bug.
The two imports refer to two different
In Dart 1 it just made the type malformed. Dart 2 has no malformed types, just compile-time errors.