| Index: tests/lib/mirrors/typevariable_mirror_metadata_test.dart
|
| diff --git a/tests/lib/mirrors/typevariable_mirror_metadata_test.dart b/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
|
| index aa59870a9ba375c9cff5dfc880ef086b712e5e87..4f86b6d4796005e7f7c0d09912b49663ad53ad3f 100644
|
| --- a/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
|
| +++ b/tests/lib/mirrors/typevariable_mirror_metadata_test.dart
|
| @@ -12,20 +12,9 @@ const m1 = 'm1';
|
| const m2 = #m2;
|
| const m3 = 3;
|
|
|
| -class A <S, @m1 @m2 T> {
|
| - // TODO(13327): Remove this once the name collision is prohibited by the
|
| - // compiler/runtime.
|
| - @m3
|
| - T() => null;
|
| -}
|
| +class A <S, @m1 @m2 T> {}
|
|
|
| -class B <@m3 T> {
|
| - // TODO(13327): Remove this once the name collision is prohibited by the
|
| - // compiler/runtime.
|
| - @m1
|
| - @m2
|
| - var T;
|
| -}
|
| +class B <@m3 T> {}
|
|
|
| typedef bool Predicate<@m1 @m2 G>(G a);
|
|
|
| @@ -34,13 +23,9 @@ main() {
|
| cm = reflectClass(A);
|
| checkMetadata(cm.typeVariables[0], []);
|
| checkMetadata(cm.typeVariables[1], [m1, m2]);
|
| - // Check for conflicts.
|
| - checkMetadata(cm.methods[#T], [m3]);
|
|
|
| cm = reflectClass(B);
|
| checkMetadata(cm.typeVariables[0], [m3]);
|
| - // Check for conflicts.
|
| - checkMetadata(cm.members[#T], [m1, m2]);
|
|
|
| TypedefMirror tm = reflectClass(Predicate);
|
| FunctionTypeMirror ftm = tm.referent;
|
|
|