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

Unified Diff: pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart

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/tool/input_sdk/private/js_mirrors.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart b/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart
index a5e272012403dcdcd91dfb913032e970e698f610..cb46e8892fe93206a8c4039082df70af341ce65c 100644
--- a/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart
+++ b/pkg/dev_compiler/tool/input_sdk/private/js_mirrors.dart
@@ -74,7 +74,7 @@ dynamic _getGenericArgs(obj) {
}
dynamic _defaultConstructorType(type) {
- return JS('', '#.definiteFunctionType(#, [])', _dart, type);
+ return JS('', '#.fnType(#, [])', _dart, type);
}
dynamic _getMixins(type) {

Powered by Google App Engine
This is Rietveld 408576698