[FIR] Bring equivalent call behavior closer to K1
#KT-61159 Fixed
This commit is contained in:
committed by
Space Team
parent
7c67e9e08b
commit
fa77e3952d
+10
@@ -273,6 +273,16 @@ abstract class AbstractCompileKotlinAgainstCustomBinariesTest : AbstractKotlinCo
|
||||
doTestPreReleaseKotlinLibrary(K2JVMCompiler(), "library", tmpdir, "-Xallow-unstable-dependencies", "-Xskip-prerelease-check")
|
||||
}
|
||||
|
||||
// KT-61051 K1/K2 difference on extension functions with specific extension receiver types when compiling code that has itself as a dependency
|
||||
fun testDependencyOnItself() {
|
||||
val compiledLibrary = compileLibrary("library")
|
||||
compileKotlin(
|
||||
"library/sample.kt",
|
||||
output = tmpdir,
|
||||
classpath = listOf(compiledLibrary),
|
||||
)
|
||||
}
|
||||
|
||||
// KT-60795 K2: missing INCOMPATIBLE_CLASS and corresponding CLI error
|
||||
fun testWrongMetadataVersion() = muteForK2 {
|
||||
doTestKotlinLibraryWithWrongMetadataVersion("library", null)
|
||||
|
||||
Reference in New Issue
Block a user