-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Repro:
/// This is a comment that references [ThisType]
extension <ThisType> on ThisType {
ThisType foo() {
return this;
}
}
/// This is a comment that references [ThisType]
extension type Et<ThisType>(ThisType value) {
ThisType get v => value;
}
/// This is a comment that references [ThisType]
mixin M<ThisType> {
ThisType get t;
}
/// This is a comment that references [ThisType]
abstract class C<ThisType> {
ThisType get t;
}
/// This is a comment that references [ThisType]
enum E<ThisType> {
a;
ThisType get t => throw UnimplementedError();
}
/// This is a comment that references [ThisType]
void foo<ThisType>() {
ThisType? t;
}Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)





