Index: test/codegen/expect/misc.js |
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js |
index 6dbb5df9222dbb242f4f18a08e6f87df4fa4d7d6..01b632daf37406ef5c58f40db619c62f8b34d74b 100644 |
--- a/test/codegen/expect/misc.js |
+++ b/test/codegen/expect/misc.js |
@@ -18,7 +18,13 @@ dart_library.library('misc', null, /* Imports */[ |
get type() { |
return Generic$(); |
} |
+ m() { |
+ return core.print(T); |
+ } |
} |
+ dart.setSignature(Generic, { |
+ methods: () => ({m: [dart.dynamic, []]}) |
+ }); |
return Generic; |
}); |
let Generic = Generic$(); |
@@ -54,6 +60,7 @@ dart_library.library('misc', null, /* Imports */[ |
core.print(dart.equals(x, Generic)); |
core.print(new (Generic$(core.int))().type); |
core.print(dart.equals(new Derived(), new Derived())); |
+ new (Generic$(core.int))().m(); |
} |
dart.fn(main); |
// Exports: |