kapt: Fix compilation in 'compile' running mode (KT-33800)

This commit is contained in:
Yan Zhulanow
2019-10-01 22:41:36 +09:00
parent 66758472c7
commit a4c8ccee06
7 changed files with 83 additions and 8 deletions
@@ -0,0 +1,19 @@
package test
import apt.Anno
import generated.Example as ExampleGenerated
@Anno
class Example() {
private val callback = object : Any() {
val obj = Object()
}
fun call() {
callback.obj
}
}
fun main() {
println("Generated class: " + ExampleGenerated::class.java.name)
}