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

Unified Diff: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart

Issue 2832913003: fix #27971, implement generic function RTTI (Closed)
Patch Set: Created 3 years, 8 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/ddc_runtime/classes.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart
index a0f02c7ac40553dacd76821115e80be28454f948..5845d8875d18086789ef0781cf3b99c2da61feec 100644
--- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart
+++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart
@@ -286,7 +286,7 @@ bind(obj, name, f) => JS(
/// associated function type.
gbind(f, @rest typeArgs) {
var result = JS('', '#.apply(null, #)', f, typeArgs);
- var sig = JS('', '#.apply(null, #)', _getRuntimeType(f), typeArgs);
+ var sig = JS('', '#.instantiate(#)', _getRuntimeType(f), typeArgs);
tag(result, sig);
return result;
}

Powered by Google App Engine
This is Rietveld 408576698