Added start and end property to generic range.

This commit is contained in:
Evgeny Gerashchenko
2013-01-23 23:59:01 +04:00
parent 0e0c048074
commit 9fa3e47b65
10 changed files with 44 additions and 22 deletions
@@ -1,4 +1,8 @@
class MyRange1() : Range<Int> {
override val start: Int
get() = 0
override val end: Int
get() = 0
override fun contains(item: Int) = true
}