Use fully-qualified references to exceptions in kotlin-runtime

This commit is contained in:
Ilya Gorbunov
2016-09-23 18:13:20 +03:00
parent 7e2e2b9f19
commit 3baf2f8942
4 changed files with 7 additions and 7 deletions
@@ -35,7 +35,7 @@ class GenerateProgressions(out: PrintWriter) : BuiltInsSourceGenerator(out) {
LONG -> "0L"
else -> "0"
}
val checkZero = "if (step == $zero) throw IllegalArgumentException(\"Step must be non-zero\")"
val checkZero = "if (step == $zero) throw kotlin.IllegalArgumentException(\"Step must be non-zero\")"
val hashCode = "=\n" + when (kind) {
CHAR ->