LV 2.0: fix diagnostic text in CliTestGenerated$Jvm.testWrongAbiVersion
This commit is contained in:
committed by
Space Team
parent
96ea0c2eb8
commit
796b9287e2
+2
-3
@@ -7,8 +7,7 @@ fun foo(x: ClassWithWrongAbiVersion) {
|
||||
compiler/testData/cli/jvm/wrongAbiVersion.kt:4:5: error: unresolved reference 'bar'.
|
||||
bar()
|
||||
^
|
||||
compiler/testData/cli/jvm/wrongAbiVersion.kt:6:7: error: unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
|
||||
public fun String.replaceIndent(newIndent: String = ...): String defined in kotlin.text
|
||||
compiler/testData/cli/jvm/wrongAbiVersion.kt:6:24: error: too many arguments for 'public final fun kotlin/String.kotlin/text/replaceIndent(newIndent: kotlin/String = STUB): kotlin/String'.
|
||||
1.replaceIndent(2, 3)
|
||||
^
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
|
||||
Reference in New Issue
Block a user