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

Unified Diff: lib/src/compiler/js_field_storage.dart

Issue 1949163003: fix for #520, ListMixin should work again (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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
« no previous file with comments | « lib/src/compiler/extension_types.dart ('k') | test/browser/language_tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/compiler/js_field_storage.dart
diff --git a/lib/src/compiler/js_field_storage.dart b/lib/src/compiler/js_field_storage.dart
index 29b5a77a67e7c72438a33d665d6091da1679a69a..b66d41c6cc214c9c6474caa038ba93acf75c5d35 100644
--- a/lib/src/compiler/js_field_storage.dart
+++ b/lib/src/compiler/js_field_storage.dart
@@ -23,7 +23,7 @@ PropertyOverrideResult checkForPropertyOverride(FieldElement field,
for (var superclass in superclasses) {
// Stop if we reach a native type.
- if (extensionTypes.contains(superclass)) break;
+ if (extensionTypes.isNativeClass(superclass)) break;
var superprop = getProperty(superclass, field.library, field.name);
if (superprop == null) continue;
« no previous file with comments | « lib/src/compiler/extension_types.dart ('k') | test/browser/language_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698