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

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

Issue 1195523002: Handle dynamic as bottom inside of function type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Fix typo in comment Created 5 years, 6 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
« no previous file with comments | « test/codegen/expect/constructors.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/covariance.js
diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js
index 45048f6c2b9c1ac7f2473796c2582820918bc2b0..8b2a823d1787fc6cf21548ef99af33ec6764d5ae 100644
--- a/test/codegen/expect/covariance.js
+++ b/test/codegen/expect/covariance.js
@@ -22,8 +22,8 @@ dart_library.library('covariance', null, /* Imports */[
}
dart.setSignature(Foo, {
methods: () => ({
- add: [core.Object, [T]],
- forEach: [core.Object, [dart.functionType(dart.void, [T])]]
+ add: [dart.dynamic, [T]],
+ forEach: [dart.dynamic, [dart.functionType(dart.void, [T])]]
})
});
return Foo;
@@ -39,7 +39,7 @@ dart_library.library('covariance', null, /* Imports */[
}
}
dart.setSignature(Bar, {
- methods: () => ({add: [core.Object, [core.int]]})
+ methods: () => ({add: [dart.dynamic, [core.int]]})
});
function main() {
let foo = new Bar();
« no previous file with comments | « test/codegen/expect/constructors.js ('k') | test/codegen/expect/fieldtest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698