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

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

Issue 1153003003: fixes #40, extension methods for primitive types (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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
Index: test/codegen/expect/functions.js
diff --git a/test/codegen/expect/functions.js b/test/codegen/expect/functions.js
index 7e8e970d1a6efa3c544edf1f362a7b86ab5d4be4..6eb73b2a88e118caa49f38a61b4f8d475beeaf73 100644
--- a/test/codegen/expect/functions.js
+++ b/test/codegen/expect/functions.js
@@ -3,7 +3,7 @@ var core = dart.import(core);
(function(exports, core) {
'use strict';
function bootstrap() {
- return dart.setType([new Foo()], core.List$(Foo));
+ return dart.list([new Foo()], Foo);
}
dart.fn(bootstrap, () => dart.functionType(core.List$(Foo), []));
let A2B$ = dart.generic(function(A, B) {
@@ -17,7 +17,7 @@ var core = dart.import(core);
dart.fn(id, () => dart.functionType(A2B$(Foo, Foo), [A2B$(Foo, Foo)]));
class Foo extends core.Object {}
function main() {
- core.print(bootstrap()[core.$get](0));
+ core.print(bootstrap()[dartx.get](0));
}
dart.fn(main, dart.void, []);
// Exports:

Powered by Google App Engine
This is Rietveld 408576698