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

Unified Diff: test/codegen_expected/lib/html/js_typed_interop_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/lib/html/js_typed_interop_test.js
diff --git a/test/codegen_expected/lib/html/js_typed_interop_test.js b/test/codegen_expected/lib/html/js_typed_interop_test.js
index 918407c2599f3a3998161e43e451937088e329bd..864640fe92d8c927064f7262734b4be724614d1a 100644
--- a/test/codegen_expected/lib/html/js_typed_interop_test.js
+++ b/test/codegen_expected/lib/html/js_typed_interop_test.js
@@ -23,7 +23,7 @@ dart_library.library('lib/html/js_typed_interop_test', null, /* Imports */[
let VoidToString = () => (VoidToString = dart.constFn(dart.definiteFunctionType(core.String, [])))();
let VoidToint = () => (VoidToint = dart.constFn(dart.definiteFunctionType(core.int, [])))();
let dynamicTodynamic$ = () => (dynamicTodynamic$ = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic])))();
- let FooAndintTodynamic = () => (FooAndintTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.global.Foo, core.int])))();
+ let FooAndintToint = () => (FooAndintToint = dart.constFn(dart.definiteFunctionType(core.int, [dart.global.Foo, core.int])))();
let dynamicAndExampleLiteralToExampleLiteral$ = () => (dynamicAndExampleLiteralToExampleLiteral$ = dart.constFn(dart.definiteFunctionType(dart.global.ExampleLiteral, [dart.dynamic, dart.global.ExampleLiteral])))();
js_typed_interop_test._injectJs = function() {
html.document[dartx.body][dartx.append]((() => {
@@ -155,7 +155,7 @@ dart_library.library('lib/html/js_typed_interop_test', null, /* Imports */[
function addThisXAndArg(that, arg) {
return dart.notNull(dart.global.foo.x) + dart.notNull(arg);
}
- dart.fn(addThisXAndArg, FooAndintTodynamic());
+ dart.fn(addThisXAndArg, FooAndintToint());
let wrappedCaptureThisClosure = js.allowInteropCaptureThis(addThisXAndArg);
dart.global.foo.x = 20;
src__matcher__expect.expect(dart.global.foo.callClosureWithArgAndThis(wrappedCaptureThisClosure, 10), src__matcher__core_matchers.equals(30));
« no previous file with comments | « test/codegen_expected/lib/html/filteredelementlist_test.js ('k') | test/codegen_expected/lib/html/svg_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698