162de77b71
These properties can be replaced with equivalent collections first & last. #KT-15537 Fixed
11 lines
228 B
Kotlin
Vendored
11 lines
228 B
Kotlin
Vendored
// PROBLEM: none
|
|
|
|
class MyRange : ClosedRange<String> {
|
|
override val start: String get() = "a"
|
|
override val endInclusive: String = "z"
|
|
}
|
|
|
|
fun main() {
|
|
val range = MyRange()
|
|
val start = range.<caret>endInclusive
|
|
} |