Files
kotlin-fork/j2k/tests/testData/ast/issues/kt-1074.kt
T
Pavel V. Talanov 741e031ff1 Converter:
Use formatter in converter tests
Reformat test data
2013-12-22 16:46:51 +04:00

14 lines
502 B
Kotlin

package demo
open class Test() {
class object {
open fun subListRangeCheck(fromIndex: Int, toIndex: Int, size: Int) {
if (fromIndex < 0)
throw IndexOutOfBoundsException("fromIndex = " + fromIndex)
if (toIndex > size)
throw IndexOutOfBoundsException("toIndex = " + toIndex)
if (fromIndex > toIndex)
throw IllegalArgumentException("fromIndex(" + fromIndex + ") > toIndex(" + toIndex + ")")
}
}
}