Parse '@' annotations on enum entries

Just drop truncating builder's creation as we parse only escaped annotations
and will not `eat` entry identifier
This commit is contained in:
Denis Zharkov
2015-05-07 16:50:14 +03:00
parent e2cd983d49
commit 585a437b2e
4 changed files with 186 additions and 3 deletions
@@ -0,0 +1,13 @@
enum class A {
[Ann] @Ann(1) X : A()
@Ann Y : A() {}
private @Ann() Z : A()
@Ann @private Q
Ann() W
@Ann fun foo() {}
}