-
Notifications
You must be signed in to change notification settings - Fork 1.7k
compilation error #54164
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
Labels
cfe-dysfunctionalities
Issues for the CFE not behaving as intended
legacy-area-front-end
Legacy: Use area-dart-model instead.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Comments
AFAIK, that error comes from the CFE. |
I've confirmed this is a CFE regression. Simple repro that fails also on the VM and fasta: a.dart: class A {} b.dart: import 'a.dart' as a;
class B<A extends a.A> {}
main() => B(); |
This issue seems to share the underlying cause with #54097. I'm working on a fix at https://dart-review.googlesource.com/c/sdk/+/337183. |
copybara-service bot
pushed a commit
that referenced
this issue
Dec 15, 2023
This reverts commit 9bb61c0. Reason for revert: NPE detected in google3. Original change's description: > [cfe] Check type variable dependency cycles via extension types > > Closes #54097 > Closes #54164 > Part of #49731 > > Change-Id: I73aac5f7e2c7f05fd0872b37e6f39fa7b5ed4862 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/337183 > Commit-Queue: Chloe Stefantsova <[email protected]> > Reviewed-by: Johnni Winther <[email protected]> Change-Id: If1e102112546e333f2e7058e432af142ce7da56e No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/341922 Bot-Commit: Rubber Stamper <[email protected]> Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Johnni Winther <[email protected]> Auto-Submit: Chloe Stefantsova <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cfe-dysfunctionalities
Issues for the CFE not behaving as intended
legacy-area-front-end
Legacy: Use area-dart-model instead.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Steps to reproduce
https://github.com/fiurthorn/bug
Expected results
until 3.13 the import rename work fine, the dart compiler itself, (and the language server) reports no error, but
the dart2js compiler wont resolve the symbols since 3.16.
Actual results
The text was updated successfully, but these errors were encountered: