[FIR] Remove line breaks after context receivers in diagnostic messages
#KT-62944 Fixed
This commit is contained in:
committed by
Space Team
parent
e18a124cbb
commit
0682a1f76d
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
// FIR_IDENTICAL
|
||||
// !LANGUAGE: +ContextReceivers
|
||||
// RENDER_DIAGNOSTICS_FULL_TEXT
|
||||
|
||||
context(String)
|
||||
fun foo(x: Comparable<*>) {}
|
||||
|
||||
context(String)
|
||||
fun foo(x: Number) {}
|
||||
|
||||
fun test() {
|
||||
with("") {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>(1)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user