Index: test/codegen_expected/corelib/iterable_tostring_test.js |
diff --git a/test/codegen_expected/corelib/iterable_tostring_test.js b/test/codegen_expected/corelib/iterable_tostring_test.js |
index 2ff5c64993ab4ad5a34e14945bd6631620a911cf..b44dfeb7ac76bc2e5d03418a151141b2f6ff2e87 100644 |
--- a/test/codegen_expected/corelib/iterable_tostring_test.js |
+++ b/test/codegen_expected/corelib/iterable_tostring_test.js |
@@ -9,6 +9,7 @@ dart_library.library('corelib/iterable_tostring_test', null, /* Imports */[ |
const dartx = dart_sdk.dartx; |
const expect$ = expect.expect; |
const iterable_tostring_test = Object.create(null); |
+ let ListOfint = () => (ListOfint = dart.constFn(core.List$(core.int)))(); |
let intTodynamic = () => (intTodynamic = dart.constFn(dart.functionType(dart.dynamic, [core.int])))(); |
let intToint = () => (intToint = dart.constFn(dart.definiteFunctionType(core.int, [core.int])))(); |
let int__ToString = () => (int__ToString = dart.constFn(dart.definiteFunctionType(core.String, [core.int], [dart.dynamic])))(); |
@@ -18,7 +19,7 @@ dart_library.library('corelib/iterable_tostring_test', null, /* Imports */[ |
if (func === void 0) func = null; |
let list = null; |
if (func == null) { |
- list = core.List.generate(len, dart.fn(x => x, intToint())); |
+ list = ListOfint().generate(len, dart.fn(x => x, intToint())); |
} else { |
list = core.List.generate(len, intTodynamic()._check(func)); |
} |