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

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

Issue 2832913003: fix #27971, implement generic function RTTI (Closed)
Patch Set: fix 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 12d984b0cdfbfb10f7155174e9ab7be3112e081a..f13243172af9da16a9effd41d72df1991fb53ed8 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
@@ -291,7 +291,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;
}
« no previous file with comments | « pkg/dev_compiler/test/codegen_test.dart ('k') | pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698