| Index: pkg/compiler/lib/src/js_backend/namer.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart
|
| index 7118b7f0a1f74308296e10f97403bce4d5df73ae..804386115e84b174ddc1f1187a12f06840e990e3 100644
|
| --- a/pkg/compiler/lib/src/js_backend/namer.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/namer.dart
|
| @@ -24,7 +24,7 @@ import '../universe/call_structure.dart' show CallStructure;
|
| import '../universe/selector.dart' show Selector, SelectorKind;
|
| import '../util/characters.dart';
|
| import '../util/util.dart';
|
| -import '../world.dart' show ClassWorld;
|
| +import '../world.dart' show ClosedWorld;
|
| import 'backend.dart';
|
| import 'backend_helpers.dart';
|
| import 'constant_system_javascript.dart';
|
| @@ -853,8 +853,8 @@ class Namer {
|
| // mangle the field names of classes extending native classes.
|
| // Methods on such classes are stored on the interceptor, not the instance,
|
| // so only fields have the potential to clash with a native property name.
|
| - ClassWorld classWorld = compiler.closedWorld;
|
| - if (classWorld.isUsedAsMixin(enclosingClass) ||
|
| + ClosedWorld closedWorld = compiler.closedWorld;
|
| + if (closedWorld.isUsedAsMixin(enclosingClass) ||
|
| _isShadowingSuperField(element) ||
|
| _isUserClassExtendingNative(enclosingClass)) {
|
| String proposeName() => '${enclosingClass.name}_${element.name}';
|
|
|