You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
InheritingContainer.typeParameters stores type parameter with a bound under wrong name #4302
The current behavior is shown in the test below. Type parameter with a bound is stored under the name U extends num, not under U.
@reflectiveTestclassTypeParametersTestextendsCo19TestBase {
voidtest_typeParameter() async {
var library =awaitbootPackageWithLibrary('''class C<U extends num> {}''');
var c = library.classes.named('C');
print(c.typeParameters.named('U extends num').documentation); // Okprint(c.typeParameters.named('U').documentation); // Bad state: No TypeParameter elements named 'U'
}
}
Activity