IR: copy anonymous initializer annotations properly #KT-48687 Fixed
This commit is contained in:
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
annotation class SomeAnn : Annotation {
|
||||
constructor() /* primary */
|
||||
|
||||
}
|
||||
|
||||
@SomeAnn
|
||||
class My {
|
||||
constructor() /* primary */ {
|
||||
super/*Any*/()
|
||||
/* <init>() */
|
||||
|
||||
}
|
||||
|
||||
@SomeAnn
|
||||
init {
|
||||
val x: Int = 1
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user