Index: test/codegen_expected/language/bool_test.js |
diff --git a/test/codegen_expected/language/bool_test.js b/test/codegen_expected/language/bool_test.js |
index 9439a585dc3cf7adc5fd3d0bc4bb332b77fae6fe..2f89714ade021eb2b6c1e2456dfe091d54966ce4 100644 |
--- a/test/codegen_expected/language/bool_test.js |
+++ b/test/codegen_expected/language/bool_test.js |
@@ -9,6 +9,7 @@ dart_library.library('language/bool_test', null, /* Imports */[ |
const expect$ = expect.expect; |
const bool_test = Object.create(null); |
let dynamicAnddynamicAnddynamicTodynamic = () => (dynamicAnddynamicAnddynamicTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic, dart.dynamic])))(); |
+ let VoidTobool = () => (VoidTobool = dart.constFn(dart.definiteFunctionType(core.bool, [])))(); |
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
bool_test.BoolTest = class BoolTest extends core.Object { |
static testEquality() { |
@@ -162,12 +163,12 @@ dart_library.library('language/bool_test', null, /* Imports */[ |
trueCount = dart.notNull(trueCount) + 1; |
return true; |
} |
- dart.fn(trueFunc, VoidTodynamic()); |
+ dart.fn(trueFunc, VoidTobool()); |
function falseFunc() { |
falseCount++; |
return false; |
} |
- dart.fn(falseFunc, VoidTodynamic()); |
+ dart.fn(falseFunc, VoidTobool()); |
expect$.Expect.equals(0, trueCount); |
expect$.Expect.equals(0, falseCount); |
dart.test(trueFunc()) && dart.test(trueFunc()); |