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

Unified Diff: test/codegen_expected/language/context_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/context_test.js
diff --git a/test/codegen_expected/language/context_test.js b/test/codegen_expected/language/context_test.js
index e52d14c8d220d4c1d0f3df185530600b0c4996bc..7eb639aef41b1aacdd8dc77daff9c31bafae7578 100644
--- a/test/codegen_expected/language/context_test.js
+++ b/test/codegen_expected/language/context_test.js
@@ -8,6 +8,7 @@ dart_library.library('language/context_test', null, /* Imports */[
const dartx = dart_sdk.dartx;
const expect$ = expect.expect;
const context_test = Object.create(null);
+ let VoidToint = () => (VoidToint = dart.constFn(dart.definiteFunctionType(core.int, [])))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
context_test.ContextTest = class ContextTest extends core.Object {
static foo(f) {
@@ -18,7 +19,7 @@ dart_library.library('language/context_test', null, /* Imports */[
function bar() {
return x;
}
- dart.fn(bar, VoidTodynamic());
+ dart.fn(bar, VoidToint());
x++;
expect$.Expect.equals(43, context_test.ContextTest.foo(bar));
}

Powered by Google App Engine
This is Rietveld 408576698