Files
kotlin-fork/compiler/testData/resolvedCalls/objectsAndClassObjects/kt5308IntRangeConstant.txt
T

13 lines
358 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