| Index: lib/compiler/implementation/dart_backend/placeholder_collector.dart
|
| diff --git a/lib/compiler/implementation/dart_backend/placeholder_collector.dart b/lib/compiler/implementation/dart_backend/placeholder_collector.dart
|
| index 84a5e5b2160e479d25d8be15f549f9eefd3ea5dd..07100a5322c4835157a2a4f1dad5436c85aec7b8 100644
|
| --- a/lib/compiler/implementation/dart_backend/placeholder_collector.dart
|
| +++ b/lib/compiler/implementation/dart_backend/placeholder_collector.dart
|
| @@ -40,7 +40,11 @@ class SendVisitor extends ResolvedVisitor {
|
| }
|
| // We don't want to rename non top-level element access
|
| // unless it's a local variable.
|
| - if (!element.isTopLevel()) {
|
| + if (element.isPrefix()) {
|
| + // Node is prefix part in case of source 'lib.somesetter = 5;'
|
| + collector.makeNullPlaceholder(node);
|
| + return;
|
| + } else if (!element.isTopLevel()) {
|
| // May get FunctionExpression here in selector
|
| // in case of A(int this.f());
|
| if (node.selector is Identifier) {
|
|
|