[IR] User-friendly message about unexpected unlinked symbols

^KT-53649
This commit is contained in:
Dmitriy Dolovov
2022-09-08 17:59:40 +02:00
committed by Space
parent 6c4dafc23c
commit e4556ecc0d
27 changed files with 231 additions and 143 deletions
@@ -692,12 +692,12 @@ class CompileKotlinAgainstCustomBinariesTest : AbstractKotlinCompilerIntegration
fun testUnreachableExtensionVarPropertyDeclaration() {
val (output, exitCode) = compileKotlin("source.kt", tmpdir, expectedFileName = null)
assertEquals("Output:\n$output", ExitCode.INTERNAL_ERROR, exitCode)
assertEquals("Output:\n$output", ExitCode.COMPILATION_ERROR, exitCode)
}
fun testUnreachableExtensionValPropertyDeclaration() {
val (output, exitCode) = compileKotlin("source.kt", tmpdir, expectedFileName = null)
assertEquals("Output:\n$output", ExitCode.INTERNAL_ERROR, exitCode)
assertEquals("Output:\n$output", ExitCode.COMPILATION_ERROR, exitCode)
}
fun testAnonymousObjectTypeMetadata() {