| Index: lib/src/compiler/code_generator.dart
|
| diff --git a/lib/src/compiler/code_generator.dart b/lib/src/compiler/code_generator.dart
|
| index 8a97a278c6114a34e3a048de9a9dd36cedc82799..26c469c0812b271301e5de27c170de820fcd5f41 100644
|
| --- a/lib/src/compiler/code_generator.dart
|
| +++ b/lib/src/compiler/code_generator.dart
|
| @@ -2345,8 +2345,12 @@ class CodeGenerator extends GeneralizingAstVisitor
|
| e.getter != null &&
|
| findAnnotation(e.getter, isPublicJSAnnotation) != null) {
|
| var annotationName = getAnnotationName(e.getter, isPublicJSAnnotation);
|
| - var name = js.string(annotationName ?? e.name);
|
| - return new JS.PropertyAccess(_self, name);
|
| + var name = annotationName ?? e.name;
|
| + JS.PropertyAccess result = null;
|
| + for (var segment in name.split('.')) {
|
| + result = new JS.PropertyAccess(result ?? _self, js.string(segment));
|
| + }
|
| + return result;
|
| }
|
| String name = getJSExportName(e) + suffix;
|
| return new JS.PropertyAccess(
|
|
|