Support annotations on type aliases declarations
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
//ALLOW_AST_ACCESS
|
||||
package test
|
||||
|
||||
annotation class Ann(val value: String = "")
|
||||
|
||||
@Ann()
|
||||
typealias A1 = String
|
||||
@Ann("OK")
|
||||
typealias A2 = String
|
||||
@@ -0,0 +1,10 @@
|
||||
package test
|
||||
|
||||
@test.Ann() public typealias A1 = kotlin.String
|
||||
@test.Ann(value = "OK") public typealias A2 = kotlin.String
|
||||
|
||||
public final annotation class Ann : kotlin.Annotation {
|
||||
/*primary*/ public constructor Ann(/*0*/ value: kotlin.String = ...)
|
||||
public final val value: kotlin.String
|
||||
public final fun <get-value>(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user