Kapt+JVM_IR: do not require KtFile for each generated class
In particular, JVM IR doesn't provide KtFile for a multifile facade in JvmDeclarationOrigin (JVM backend provides KtFile of a random multifile part). This led to multifile classes being completely ignored in the JVM_IR version of kapt. Now they are generated correctly and the changed test passes, but there's a _ir.txt expectation file because the order of 'foo' and 'bar' is different (which is not a problem).
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// WITH_STDLIB
|
||||
|
||||
// FILE: a.kt
|
||||
|
||||
Reference in New Issue
Block a user