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

Unified Diff: pkg/dev_compiler/test/codegen_expected/es6_modules.js

Issue 2869733006: Revert "Revert "fix #27256, track type bounds for generic functions"" (Closed)
Patch Set: Created 3 years, 7 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: pkg/dev_compiler/test/codegen_expected/es6_modules.js
diff --git a/pkg/dev_compiler/test/codegen_expected/es6_modules.js b/pkg/dev_compiler/test/codegen_expected/es6_modules.js
index e7bae160b5fc114bc0ea78d6b4dbd43ac3049ede..5e16c6dc8607c4ab4b4a4a7ddb715ae614fd70c3 100644
--- a/pkg/dev_compiler/test/codegen_expected/es6_modules.js
+++ b/pkg/dev_compiler/test/codegen_expected/es6_modules.js
@@ -2,9 +2,9 @@ export const es6_modules = Object.create(null);
import { core, dart, dartx } from 'dart_sdk';
let B = () => (B = dart.constFn(es6_modules.B$()))();
let _B = () => (_B = dart.constFn(es6_modules._B$()))();
-let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
-let VoidToString = () => (VoidToString = dart.constFn(dart.definiteFunctionType(core.String, [])))();
-es6_modules.Callback = dart.typedef('Callback', () => dart.functionType(dart.void, [], {i: core.int}));
+let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.fnType(dart.dynamic, [])))();
+let VoidToString = () => (VoidToString = dart.constFn(dart.fnType(core.String, [])))();
+es6_modules.Callback = dart.typedef('Callback', () => dart.fnTypeFuzzy(dart.void, [], {i: core.int}));
es6_modules.A = class A extends core.Object {};
es6_modules._A = class _A extends core.Object {};
es6_modules.B$ = dart.generic(T => {
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/destructuring.js ('k') | pkg/dev_compiler/test/codegen_expected/map_keys.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698