[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
+2
-2
@@ -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
|
||||
}
|
||||
+3
-1
@@ -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
|
||||
|
||||
+3
-1
@@ -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
|
||||
|
||||
+3
-1
@@ -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
|
||||
|
||||
Vendored
+6
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user