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

Unified Diff: test/codegen_expected/language/closure6_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/closure6_test.js
diff --git a/test/codegen_expected/language/closure6_test.js b/test/codegen_expected/language/closure6_test.js
index 3d1a50f7d95f13d6bb9a402dcb878942022cfd8e..0691a250efe21ce07aa922afc222763d7d8bcf39 100644
--- a/test/codegen_expected/language/closure6_test.js
+++ b/test/codegen_expected/language/closure6_test.js
@@ -8,16 +8,18 @@ dart_library.library('language/closure6_test', null, /* Imports */[
const dartx = dart_sdk.dartx;
const expect$ = expect.expect;
const closure6_test = Object.create(null);
+ let VoidToint = () => (VoidToint = dart.constFn(dart.definiteFunctionType(core.int, [])))();
+ let VoidTonum = () => (VoidTonum = dart.constFn(dart.definiteFunctionType(core.num, [])))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
closure6_test.A = class A extends core.Object {
foo() {
function length() {
return 400;
}
- dart.fn(length, VoidTodynamic());
+ dart.fn(length, VoidToint());
let box_0 = 28;
let x = 29;
- let f = dart.fn(() => dart.dsend(dart.dsend(dart.dsend(length(), '+', box_0), '+', x), '+', this.bar()), VoidTodynamic());
+ let f = dart.fn(() => dart.notNull(length()) + box_0 + x + dart.notNull(core.num._check(this.bar())), VoidTonum());
return f();
}
bar() {

Powered by Google App Engine
This is Rietveld 408576698