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

Unified Diff: test/codegen/expect/fieldtest.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/covariance.js ('k') | test/codegen/expect/functions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/fieldtest.js
diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
index a687e68d30dd59fac987a58cd7dbf50f17952fce..b69e90dba298c923f5f704ffd60d9e2a012a517d 100644
--- a/test/codegen/expect/fieldtest.js
+++ b/test/codegen/expect/fieldtest.js
@@ -30,11 +30,11 @@ dart_library.library('fieldtest', null, /* Imports */[
core.print(dart.dload(a, 'x'));
return dart.as(dart.dload(a, 'x'), core.int);
}
- dart.fn(bar, core.int, [core.Object]);
+ dart.fn(bar, core.int, [dart.dynamic]);
function baz(a) {
return a.x;
}
- dart.fn(baz, core.Object, [A]);
+ dart.fn(baz, dart.dynamic, [A]);
function compute() {
return 123;
}
@@ -76,7 +76,7 @@ dart_library.library('fieldtest', null, /* Imports */[
}
}
dart.setSignature(Generic, {
- methods: () => ({foo: [core.Object, [T]]})
+ methods: () => ({foo: [dart.dynamic, [T]]})
});
return Generic;
});
« no previous file with comments | « test/codegen/expect/covariance.js ('k') | test/codegen/expect/functions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698