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

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

Issue 2304323002: Cast InternalMap to Map. (Closed)
Patch Set: Make InternalMap directly implement Map instead of casting. Created 4 years, 3 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_helper.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart b/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart
index d3c372b5d6bd387eb81ca210b0703a367abcf934..09e9a78127dfcd4e99ae0985c87fb64d4e00fa3b 100644
--- a/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart
+++ b/pkg/dev_compiler/tool/input_sdk/private/js_helper.dart
@@ -33,8 +33,7 @@ const _Patch patch = const _Patch();
/// Marks the internal map in dart2js, so that internal libraries can is-check
// them.
-abstract class InternalMap {
-}
+abstract class InternalMap<K, V> implements Map<K, V> {}
class Primitives {
/// Isolate-unique ID for caching [JsClosureMirror.function].

Powered by Google App Engine
This is Rietveld 408576698