| Index: pkg/compiler/lib/src/resolution/members.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/members.dart b/pkg/compiler/lib/src/resolution/members.dart
|
| index 137126a80a63653bb784249016a5ec2df5c87797..2f9347ffdf5cc940f3638a9976a42e46e09e43c3 100644
|
| --- a/pkg/compiler/lib/src/resolution/members.dart
|
| +++ b/pkg/compiler/lib/src/resolution/members.dart
|
| @@ -2788,6 +2788,12 @@ class ResolverVisitor extends MappingVisitor<ResolutionResult> {
|
| } else {
|
| // The node itself is not a constant but we register the selector (the
|
| // identifier that refers to the class/typedef) as a constant.
|
| + if (node.receiver != null) {
|
| + // This is a hack for the case of prefix.Type, we need to store
|
| + // the element on the selector, so [analyzeConstant] can build
|
| + // the type literal from the selector.
|
| + registry.useElement(node.selector, target);
|
| + }
|
| analyzeConstantDeferred(node.selector);
|
| }
|
| }
|
|
|