| Index: lib/compiler/implementation/namer.dart
|
| diff --git a/lib/compiler/implementation/namer.dart b/lib/compiler/implementation/namer.dart
|
| index 2864e6435ed176216b0d8c79d3d792716e955a40..e28958b886ca876eb8ed4d3ae8a68e281cfceb7c 100644
|
| --- a/lib/compiler/implementation/namer.dart
|
| +++ b/lib/compiler/implementation/namer.dart
|
| @@ -69,11 +69,15 @@ class Namer {
|
| }
|
|
|
| String setterName(LibraryElement lib, SourceString name) {
|
| - return 'set\$${privateName(lib, name)}';
|
| + // We dynamically create setters from the field-name. The setter name must
|
| + // therefore be derived from the instance field-name.
|
| + return 'set\$${instanceFieldName(lib, name)}';
|
| }
|
|
|
| String getterName(LibraryElement lib, SourceString name) {
|
| - return 'get\$${privateName(lib, name)}';
|
| + // We dynamically create getters from the field-name. The getter name must
|
| + // therefore be derived from the instance field-name.
|
| + return 'get\$${instanceFieldName(lib, name)}';
|
| }
|
|
|
| String getFreshGlobalName(String proposedName) {
|
|
|