Index: test/codegen/expect/node_modules.js |
diff --git a/test/codegen/expect/node_modules.js b/test/codegen/expect/node_modules.js |
index 5590ecb00c2a695600065ceb407a575942188a27..3b5f99e26486bc20ee9d094f5494c16c8f8919ad 100644 |
--- a/test/codegen/expect/node_modules.js |
+++ b/test/codegen/expect/node_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(_) {} |
}); |