Index: pkg/compiler/lib/src/parser/member_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/member_listener.dart b/pkg/compiler/lib/src/parser/member_listener.dart |
index c21f4931ae0c224d5aa418c8271b8307e02c92d2..17ecce0c26704e491632e89f52b8ddd2cf58bbb1 100644 |
--- a/pkg/compiler/lib/src/parser/member_listener.dart |
+++ b/pkg/compiler/lib/src/parser/member_listener.dart |
@@ -147,11 +147,7 @@ class MemberListener extends NodeListener { |
} |
void endMetadata(Token beginToken, Token periodBeforeName, Token endToken) { |
- popNode(); // Discard arguments. |
- if (periodBeforeName != null) { |
- popNode(); // Discard name. |
- } |
- popNode(); // Discard node (Send or Identifier). |
+ super.endMetadata(beginToken, periodBeforeName, endToken); |
Siggi Cherem (dart-lang)
2016/09/30 22:28:07
note: this will keep the metadata node in the stac
|
pushMetadata(new PartialMetadataAnnotation(beginToken, endToken)); |
} |
} |