kapt: Fix compilation in 'compile' running mode (KT-33800)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user