Resolve enum in annotation arguments

This commit is contained in:
Natalia.Ukhorskaya
2013-07-02 16:45:20 +04:00
parent d3e6d2d6cd
commit dddec9ea3d
3 changed files with 63 additions and 1 deletions
@@ -1,5 +1,7 @@
package test
import test.MyEnum.*
ANNOTATION class MyClass [ANNOTATION]([ANNOTATION] param: Int, [ANNOTATION] val consProp: Int) {
ANNOTATION class object {
}
@@ -36,4 +38,9 @@ val funLiteral = {([ANNOTATION] a: Int) -> a }
annotation class AnnString(a: String)
annotation class AnnInt(a: Int)
annotation class AnnInt(a: Int)
annotation class AnnEnum(a: MyEnum)
enum class MyEnum {
A
}