Files
kotlin/compiler/testData/resolvedCalls/objectsAndClassObjects/kt5308IntRangeConstant.txt
Alexander Udalov 3a8ad45dec Append newline to EOF for .txt test data files
Reverts and fixes 102f0d3
2014-10-21 03:18:27 +04:00

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