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

Unified Diff: test/codegen_expected/language/call_closurization_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
« no previous file with comments | « test/codegen_expected/language/bool_test.js ('k') | test/codegen_expected/language/call_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/language/call_closurization_test.js
diff --git a/test/codegen_expected/language/call_closurization_test.js b/test/codegen_expected/language/call_closurization_test.js
index 76806706b2ecb123a29b9fb33d26658e3731ce8c..ab10b0be05ac7428891fbd2cf10a686c67cbe698 100644
--- a/test/codegen_expected/language/call_closurization_test.js
+++ b/test/codegen_expected/language/call_closurization_test.js
@@ -8,17 +8,16 @@ dart_library.library('language/call_closurization_test', null, /* Imports */[
const dartx = dart_sdk.dartx;
const expect$ = expect.expect;
const call_closurization_test = Object.create(null);
- let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic])))();
- let __Todynamic = () => (__Todynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [], [dart.dynamic])))();
- let __Todynamic$ = () => (__Todynamic$ = dart.constFn(dart.definiteFunctionType(dart.dynamic, [], {x: dart.dynamic, y: dart.dynamic})))();
- let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
let dynamicTobool = () => (dynamicTobool = dart.constFn(dart.definiteFunctionType(core.bool, [dart.dynamic])))();
+ let __Tobool = () => (__Tobool = dart.constFn(dart.definiteFunctionType(core.bool, [], [dart.dynamic])))();
+ let __ToString = () => (__ToString = dart.constFn(dart.definiteFunctionType(core.String, [], {x: dart.dynamic, y: dart.dynamic})))();
+ let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
call_closurization_test.main = function() {
function bar(a) {
return typeof a == 'string';
}
- dart.fn(bar, dynamicTodynamic());
+ dart.fn(bar, dynamicTobool());
let bar_tearOff = dart.dload(bar, 'call');
for (let i = 0; i < 20; i++) {
expect$.Expect.isFalse(dart.dcall(bar_tearOff, 1));
@@ -30,7 +29,7 @@ dart_library.library('language/call_closurization_test', null, /* Imports */[
if (a === void 0) a = "a";
return typeof a == 'string';
}
- dart.fn(opt_arg, __Todynamic());
+ dart.fn(opt_arg, __Tobool());
let opt_arg_tearOff = dart.dload(opt_arg, 'call');
for (let i = 0; i < 20; i++) {
expect$.Expect.isFalse(dart.dcall(opt_arg_tearOff, 1));
@@ -45,7 +44,7 @@ dart_library.library('language/call_closurization_test', null, /* Imports */[
let y = opts && 'y' in opts ? opts.y : 22;
return dart.str`${x}${y}`;
}
- dart.fn(named_arg, __Todynamic$());
+ dart.fn(named_arg, __ToString());
let named_arg_tearOff = dart.dload(named_arg, 'call');
for (let i = 0; i < 20; i++) {
expect$.Expect.equals("1122", dart.dcall(named_arg_tearOff));
« no previous file with comments | « test/codegen_expected/language/bool_test.js ('k') | test/codegen_expected/language/call_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698