Chromium Code Reviews

Unified Diff: pkg/dev_compiler/test/codegen_expected/script.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.
Jump to:
View side-by-side diff with in-line comments
Index: pkg/dev_compiler/test/codegen_expected/script.js
diff --git a/pkg/dev_compiler/test/codegen_expected/script.js b/pkg/dev_compiler/test/codegen_expected/script.js
index 95dd30e55042d625c67676562b314485662a93e4..2b8cfec37d2ccab6f9c2ef5f4cfd91d4baa20a13 100644
--- a/pkg/dev_compiler/test/codegen_expected/script.js
+++ b/pkg/dev_compiler/test/codegen_expected/script.js
@@ -5,7 +5,7 @@ define(['dart_sdk'], function(dart_sdk) {
const dartx = dart_sdk.dartx;
const script = Object.create(null);
let ListOfString = () => (ListOfString = dart.constFn(core.List$(core.String)))();
- let ListOfStringTovoid = () => (ListOfStringTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [ListOfString()])))();
+ let ListOfStringTovoid = () => (ListOfStringTovoid = dart.constFn(dart.fnType(dart.void, [ListOfString()])))();
script.main = function(args) {
let name = args[dartx.join](' ');
if (name == '') name = 'world';
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/node_modules.js ('k') | pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js » ('j') | no next file with comments »

Powered by Google App Engine