| Index: sdk/lib/_internal/compiler/implementation/closure.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/closure.dart b/sdk/lib/_internal/compiler/implementation/closure.dart
|
| index 54ad643acb007fa5ec3c1f4c3e39484a9b892386..166136668d9cd862ce3e9fc1e48c8c947fb32720 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/closure.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/closure.dart
|
| @@ -644,7 +644,7 @@ class ClosureTranslator extends Visitor {
|
| }
|
|
|
| visitTypeAnnotation(TypeAnnotation node) {
|
| - Element member = executableContext.enclosingMember;
|
| + MemberElement member = executableContext.memberContext;
|
| DartType type = elements.getType(node);
|
| // TODO(karlklose,johnniwinther): if the type is null, the annotation is
|
| // from a parameter which has been analyzed before the method has been
|
|
|