| Index: pkg/smoke/test/common.dart
|
| diff --git a/pkg/smoke/test/common.dart b/pkg/smoke/test/common.dart
|
| index f8ce624f235c4c494f876b528890d715368832a9..a89b0db5ce068d5440fe66f415a49b7e712e1da7 100644
|
| --- a/pkg/smoke/test/common.dart
|
| +++ b/pkg/smoke/test/common.dart
|
| @@ -302,6 +302,11 @@ main() {
|
| expect(smoke.nameToSymbol('i'), #i);
|
| });
|
| });
|
| +
|
| + test('invoke Type instance methods', () {
|
| + var a = new A();
|
| + expect(smoke.invoke(a.runtimeType, #toString, []), 'A');
|
| + });
|
| }
|
|
|
| class A {
|
| @@ -315,7 +320,6 @@ class A {
|
|
|
| static int staticValue = 42;
|
| static void staticInc() { staticValue++; }
|
| -
|
| }
|
|
|
| class B {
|
|
|