[FIR] Render list of symbols with linebreaks as separators

#KT-61823 Fixed
This commit is contained in:
Kirill Rakhman
2024-02-15 12:32:59 +01:00
committed by Space Team
parent 4c9fc8f214
commit f231338cd6
27 changed files with 199 additions and 79 deletions
@@ -4,7 +4,7 @@
annotation class An
@An
data class <!CONFLICTING_OVERLOADS("[@An() fun copy(@An() x: @An() Int): @An() Int]")!>A(@An val x: @An Int)<!> {
<!CONFLICTING_OVERLOADS("[fun copy(@An() x: @An() Int = ...): A]")!>@An
data class <!CONFLICTING_OVERLOADS("@An() fun copy(@An() x: @An() Int): @An() Int")!>A(@An val x: @An Int)<!> {
<!CONFLICTING_OVERLOADS("fun copy(@An() x: @An() Int = ...): A")!>@An
fun copy(@An x: @An Int)<!> = x
}
@@ -1 +1,3 @@
/contextReceiverAmbiguity.kt:(203,206): error: Overload resolution ambiguity between candidates: [context(String) fun foo(x: Comparable<*>): Unit, context(String) fun foo(x: Number): Unit]
/contextReceiverAmbiguity.kt:(203,206): error: Overload resolution ambiguity between candidates:
context(String) fun foo(x: Comparable<*>): Unit
context(String) fun foo(x: Number): Unit
@@ -1 +1,3 @@
/test.kt:(154,158): error: Overload resolution ambiguity between candidates: [static field SOME: String, static enum entry SOME: SomeEnum]
/test.kt:(154,158): error: Overload resolution ambiguity between candidates:
static field SOME: String
static enum entry SOME: SomeEnum
@@ -1 +1,3 @@
/test.kt:(160,164): error: Overload resolution ambiguity between candidates: [static field SOME: String, static enum entry SOME: SomeEnum]
/test.kt:(160,164): error: Overload resolution ambiguity between candidates:
static field SOME: String
static enum entry SOME: SomeEnum
@@ -1,3 +1,7 @@
/RedeclarationThroughDestructuring.fir.kt:(133,134): error: Conflicting declarations: [local val b: String, local val b: Int]
/RedeclarationThroughDestructuring.fir.kt:(133,134): error: Conflicting declarations:
local val b: String
local val b: Int
/RedeclarationThroughDestructuring.fir.kt:(136,137): error: Conflicting declarations: [local val b: String, local val b: Int]
/RedeclarationThroughDestructuring.fir.kt:(136,137): error: Conflicting declarations:
local val b: String
local val b: Int
@@ -1 +1,3 @@
/AmbiguousVararg.kt:(128,131): error: Overload resolution ambiguity between candidates: [fun foo(vararg t: String): String, fun foo(vararg t: Int): String]
/AmbiguousVararg.kt:(128,131): error: Overload resolution ambiguity between candidates:
fun foo(vararg t: String): String
fun foo(vararg t: Int): String