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

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

Issue 2870543005: Revert "fix #27256, track type bounds for generic functions" (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Reverting - causing build to fail 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/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 9da7da945999728a184f28531c006a079dd806dd..ca3f810efefff793e7aeace8997be7194b3755f9 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
@@ -179,10 +179,10 @@ generic(typeConstructor, [setBaseClass]) => JS(
return makeGenericType;
})()''');
-getGenericClass(type) => safeGetOwnProperty(type, _originalDeclaration);
+getGenericClass(type) =>
+ JS('', '$safeGetOwnProperty($type, $_originalDeclaration)');
-List getGenericArgs(type) =>
- JS('List', '#', safeGetOwnProperty(type, _typeArguments));
+getGenericArgs(type) => JS('', '$safeGetOwnProperty($type, $_typeArguments)');
// TODO(vsm): Collapse into one expando.
final _constructorSig = JS('', 'Symbol("sigCtor")');
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/varargs.js ('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