[FIR] Render list of symbols with linebreaks as separators
#KT-61823 Fixed
This commit is contained in:
committed by
Space Team
parent
4c9fc8f214
commit
f231338cd6
+4
-2
@@ -1,7 +1,9 @@
|
||||
compiler/testData/cli/jvm/conflictingOverloads.kt:1:1: error: conflicting overloads: [fun a(): List<String>]
|
||||
compiler/testData/cli/jvm/conflictingOverloads.kt:1:1: error: conflicting overloads:
|
||||
fun a(): List<String>
|
||||
fun a(): List<Int> = null!!
|
||||
^^^^^^^^^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/conflictingOverloads.kt:2:1: error: conflicting overloads: [fun a(): List<Int>]
|
||||
compiler/testData/cli/jvm/conflictingOverloads.kt:2:1: error: conflicting overloads:
|
||||
fun a(): List<Int>
|
||||
fun a(): List<String> = null!!
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
COMPILATION_ERROR
|
||||
|
||||
+54
-10
@@ -1,28 +1,72 @@
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:1:5: error: conflicting declarations: [val x: Int, val x: Int, val x: Int, ...]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:1:5: error: conflicting declarations:
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:2:5: error: conflicting declarations: [val x: Int, val x: Int, val x: Int, ...]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:2:5: error: conflicting declarations:
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:3:5: error: conflicting declarations: [val x: Int, val x: Int, val x: Int, ...]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:3:5: error: conflicting declarations:
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:4:5: error: conflicting declarations: [val x: Int, val x: Int, val x: Int, ...]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:4:5: error: conflicting declarations:
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:5:5: error: conflicting declarations: [val x: Int, val x: Int, val x: Int, ...]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:5:5: error: conflicting declarations:
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:6:5: error: conflicting declarations: [val x: Int, val x: Int, val x: Int, ...]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:6:5: error: conflicting declarations:
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:7:5: error: conflicting declarations: [val x: Int, val x: Int, val x: Int, ...]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder1.kt:7:5: error: conflicting declarations:
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x: Int
|
||||
val x = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder2.kt:1:5: error: conflicting declarations: [val y: Int]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder2.kt:1:5: error: conflicting declarations:
|
||||
val y: Int
|
||||
val y = 5
|
||||
^
|
||||
compiler/testData/cli/jvm/diagnosticsOrder2.kt:2:5: error: conflicting declarations: [val y: Int]
|
||||
compiler/testData/cli/jvm/diagnosticsOrder2.kt:2:5: error: conflicting declarations:
|
||||
val y: Int
|
||||
val y = 5
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
COMPILATION_ERROR
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
compiler/testData/cli/jvm/readingConfigFromEnvironment/simple.kt:2:15: error: [NONE_APPLICABLE] None of the following functions is applicable: [@IntrinsicConstEvaluation() fun plus(other: Int): Int, @IntrinsicConstEvaluation() fun plus(other: Byte): Int, @IntrinsicConstEvaluation() fun plus(other: Double): Double, ...]
|
||||
compiler/testData/cli/jvm/readingConfigFromEnvironment/simple.kt:2:15: error: [NONE_APPLICABLE] None of the following candidates is applicable:
|
||||
@IntrinsicConstEvaluation() fun plus(other: Int): Int
|
||||
@IntrinsicConstEvaluation() fun plus(other: Byte): Int
|
||||
@IntrinsicConstEvaluation() fun plus(other: Double): Double
|
||||
@IntrinsicConstEvaluation() fun plus(other: Float): Float
|
||||
@IntrinsicConstEvaluation() fun plus(other: Long): Long
|
||||
@IntrinsicConstEvaluation() fun plus(other: Short): Int
|
||||
val x = 1 + ""
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
|
||||
Reference in New Issue
Block a user