Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(628)

Unified Diff: test/codegen/expect/covariance.js

Issue 1148333003: No dynamic at runtime (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen/expect/covariance.js
diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js
index 0ee118bfe2e80cf3b76bd1e97cadf8b27b0715af..2a6b5e34a7c3fd85138ac51c2067b679eb970ce3 100644
--- a/test/codegen/expect/covariance.js
+++ b/test/codegen/expect/covariance.js
@@ -19,8 +19,8 @@ var core = dart.import(core);
}
dart.setSignature(Foo, {
methods: () => ({
- add: dart.functionType(dart.dynamic, [T]),
- forEach: dart.functionType(dart.dynamic, [dart.functionType(dart.void, [T])])
+ add: dart.functionType(core.Object, [T]),
+ forEach: dart.functionType(core.Object, [dart.functionType(dart.void, [T])])
})
});
return Foo;
@@ -36,7 +36,7 @@ var core = dart.import(core);
}
}
dart.setSignature(Bar, {
- methods: () => ({add: dart.functionType(dart.dynamic, [core.int])})
+ methods: () => ({add: dart.functionType(core.Object, [core.int])})
});
function main() {
let foo = new Bar();

Powered by Google App Engine
This is Rietveld 408576698