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: |