| Index: tests/language/invocation_mirror2_test.dart
|
| diff --git a/tests/language/invocation_mirror2_test.dart b/tests/language/invocation_mirror2_test.dart
|
| index de6fcc28c88f49a0fe6626f290e57db1c28d2bd0..fc8849a9ce61fceb4d43d0903222dad488b49cbd 100644
|
| --- a/tests/language/invocation_mirror2_test.dart
|
| +++ b/tests/language/invocation_mirror2_test.dart
|
| @@ -2,6 +2,12 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +class GetName {
|
| + set flif(_) => "flif=";
|
| +}
|
| +
|
| +static String getName(im) => im.invokeOn(new GetName());
|
| +
|
| class C {
|
| var im;
|
| noSuchMethod(im) => this.im = im;
|
| @@ -11,6 +17,6 @@ class C {
|
| main() {
|
| var c = new C();
|
| c.flif = 42;
|
| - Expect.equals('flif=', c.im.memberName);
|
| + Expect.equals('flif=', getName(c.im));
|
| Expect.equals(42, c.im.positionalArguments[0]);
|
| }
|
|
|