Introduce experimental -Xuse-javac compilation mode
In this mode, javac AST and Symbol files are used during Kotlin compilation instead of PSI / binary stuff. Later, they are reused for Java file compilation. javac in this mode is integrated into kotlinc.
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c9a04fe1e2
commit
5eea3b6569
@@ -0,0 +1,19 @@
|
||||
package test
|
||||
|
||||
public fun useJavaClass(): test.KotlinClass2!
|
||||
|
||||
public open class CyclicDependencies {
|
||||
public constructor CyclicDependencies()
|
||||
public open fun useKotlinClass(): test.KotlinClass!
|
||||
public open fun useKotlinClass2(/*0*/ test.KotlinClass!): test.KotlinClass2!
|
||||
}
|
||||
|
||||
public final class KotlinClass {
|
||||
public constructor KotlinClass()
|
||||
public final fun getKotlinClass(): test.KotlinClass
|
||||
}
|
||||
|
||||
public final class KotlinClass2 {
|
||||
public constructor KotlinClass2()
|
||||
public final val str: kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user