Files
kotlin-fork/compiler/testData/diagnostics/tests/extensions/contextReceivers/twoReceiverCandidatesError.txt
T
Dmitry Khalanskiy 4cbee3cde7 Fix KT-51478
The issue was that, when various context elements were available
to fulfill a need for an extension receiver, but none of them were
applicable to it, the compiler behaved the same way as if there
was no extension receiver at all.

https://youtrack.jetbrains.com/issue/KT-51478/Inapplicable-receiver-diagnostic-expected-when-there-are-two-context-receiver-candidates
2022-09-20 10:32:32 +00:00

6 lines
149 B
Plaintext
Vendored

package
context(kotlin.Int, kotlin.Double) public fun bar(): kotlin.Unit
public fun main(): kotlin.Unit
public fun kotlin.String.foo(): kotlin.Unit