K2: fix implementation of EXTENSION_PROPERTY_MUST_HAVE_ACCESSORS_OR_BE_ABSTRACT
This commit fixes `FirCompileKotlinAgainstCustomBinariesTest.testUnreachableExtensionVarPropertyDeclaration`.
This commit is contained in:
committed by
Space Team
parent
54c7466074
commit
0abf17201f
+1
-2
@@ -663,8 +663,7 @@ abstract class AbstractCompileKotlinAgainstCustomBinariesTest : AbstractKotlinCo
|
||||
compileKotlin("main.kt", tmpdir, listOf(library), additionalOptions = features)
|
||||
}
|
||||
|
||||
// Fixed in the LV2.0 branch.
|
||||
fun testUnreachableExtensionVarPropertyDeclaration() = muteForK2 {
|
||||
fun testUnreachableExtensionVarPropertyDeclaration() {
|
||||
val (output, exitCode) = compileKotlin("source.kt", tmpdir, expectedFileName = null)
|
||||
assertEquals("Output:\n$output", ExitCode.COMPILATION_ERROR, exitCode)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user