| Index: tests/lib_strong/mirrors/static_metatarget_test.dart
|
| diff --git a/tests/lib_strong/mirrors/static_metatarget_test.dart b/tests/lib_strong/mirrors/static_metatarget_test.dart
|
| index 8627ac493f1e389280d52ab5917d6212ac6339d0..f653e2c9568999f6804ee2e3bb4bd730601aaa1f 100644
|
| --- a/tests/lib_strong/mirrors/static_metatarget_test.dart
|
| +++ b/tests/lib_strong/mirrors/static_metatarget_test.dart
|
| @@ -5,7 +5,7 @@
|
| // Regression test for the combined use of metatargets and static fields with
|
| // annotations.
|
|
|
| -@MirrorsUsed(metaTargets:const [Reflectable])
|
| +@MirrorsUsed(metaTargets: const [Reflectable])
|
| import 'dart:mirrors';
|
|
|
| class A {
|
| @@ -15,12 +15,14 @@ class A {
|
|
|
| @reflectable static var reflectableStaticField = 2; //# 03: ok
|
|
|
| - @UsedOnlyAsMetadata() static var unreflectableStaticField = 3;
|
| + @UsedOnlyAsMetadata()
|
| + static var unreflectableStaticField = 3;
|
| }
|
|
|
| class Reflectable {
|
| const Reflectable();
|
| }
|
| +
|
| const Reflectable reflectable = const Reflectable();
|
|
|
| class UsedOnlyAsMetadata {
|
| @@ -29,4 +31,4 @@ class UsedOnlyAsMetadata {
|
|
|
| void main() {
|
| print(new A());
|
| -}
|
| +}
|
|
|