Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1578)

Unified Diff: test/codegen_expected/language/bool_test.js

Issue 2214263005: Mark recursive_inheritance_test as passing (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Bumped pubspec Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
« no previous file with comments | « test/codegen_expected/language/async_test.js ('k') | test/codegen_expected/language/call_closurization_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698