Rename InclusiveRange to ClosedRange

This commit is contained in:
Ilya Gorbunov
2015-10-30 20:21:06 +03:00
parent 25da037868
commit 2887338f01
3 changed files with 10 additions and 10 deletions
@@ -76,7 +76,7 @@ class GenerateRanges(out: PrintWriter) : BuiltInsSourceGenerator(out) {
"""/**
* A range of values of type `$t`.
*/
public class $range(start: $t, endInclusive: $t) : ${t}Progression(start, endInclusive, $increment), InclusiveRange<$t> {
public class $range(start: $t, endInclusive: $t) : ${t}Progression(start, endInclusive, $increment), ClosedRange<$t> {
@Deprecated("Use endInclusive instead.", ReplaceWith("endInclusive"))
override val end: $t get() = endInclusive