mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
14 lines
359 B
Plaintext
14 lines
359 B
Plaintext
//KT-5308 Wrong ExplicitReceiverKind when access to IntRange.EMPTY
|
|
fun test() {
|
|
IntRange.<caret>EMPTY
|
|
}
|
|
|
|
|
|
Resolved call:
|
|
|
|
Resulting descriptor: val EMPTY: IntRange defined in kotlin.IntRange.<class-object-for-IntRange>
|
|
|
|
Explicit receiver kind = DISPATCH_RECEIVER
|
|
Dispatch receiver = IntRange {<class-object-for-IntRange>}
|
|
Extension receiver = NO_RECEIVER
|