I was able to emit the proper bytecode and `Class....
# compiler
r
I was able to emit the proper bytecode and
Class.forName
works and I can even create dynamic instances of
GeneratedClass
. What is still missing is being able to import. This works:
Copy code
Class.forName("sample.GeneratedClass")
But this fails to compile:
Copy code
import sample.GeneratedClass
with :
Copy code
sample/test.kt: (3, 21): Unresolved reference: GeneratedClass