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

Unified Diff: test/codegen/expect/fieldtest.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/fieldtest.js
diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
index b0e0f9550937e86133325db0c1fa1c23f7074a23..ec2c08cf5eb65d3c12824f80972ec9232141a5dc 100644
--- a/test/codegen/expect/fieldtest.js
+++ b/test/codegen/expect/fieldtest.js
@@ -27,11 +27,11 @@ var core = dart.import(core);
core.print(dart.dload(a, 'x'));
return dart.as(dart.dload(a, 'x'), core.int);
}
- dart.fn(bar, core.int, [dart.dynamic]);
+ dart.fn(bar, core.int, [core.Object]);
function baz(a) {
return a.x;
}
- dart.fn(baz, dart.dynamic, [A]);
+ dart.fn(baz, core.Object, [A]);
function compute() {
return 123;
}
@@ -73,7 +73,7 @@ var core = dart.import(core);
}
}
dart.setSignature(Generic, {
- methods: () => ({foo: dart.functionType(dart.dynamic, [T])})
+ methods: () => ({foo: dart.functionType(core.Object, [T])})
});
return Generic;
});

Powered by Google App Engine
This is Rietveld 408576698