Index: test/codegen/expect/es6_modules.js |
diff --git a/test/codegen/expect/es6_modules.js b/test/codegen/expect/es6_modules.js |
index e96218a8c70d195b21da8a1c4dcbcf1ba571d9bb..bcc446a821601bff7c585f0c95be59ce0e598e10 100644 |
--- a/test/codegen/expect/es6_modules.js |
+++ b/test/codegen/expect/es6_modules.js |
@@ -25,19 +25,19 @@ const constant = "abc"; |
exports.finalConstant = "abc"; |
dart.defineLazyProperties(exports, { |
get lazy() { |
- return dart.as(dart.fn(() => { |
+ return dart.fn(() => { |
core.print('lazy'); |
return "abc"; |
- })(), core.String); |
+ }, core.String, [])(); |
} |
}); |
exports.mutable = "abc"; |
dart.defineLazyProperties(exports, { |
get lazyMutable() { |
- return dart.as(dart.fn(() => { |
+ return dart.fn(() => { |
core.print('lazyMutable'); |
return "abc"; |
- })(), core.String); |
+ }, core.String, [])(); |
}, |
set lazyMutable(_) {} |
}); |