Get rid of reduntant jvm parts in tests

This commit is contained in:
Mikhael Bogdanov
2018-12-21 13:34:40 +01:00
parent f59b6a350f
commit d1efac617d
10 changed files with 22 additions and 34 deletions
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_RUNTIME
class My(val value: Int)
@@ -19,7 +19,7 @@ inline fun <T, R> T.performWithFail2(job: (T)-> R, failJob : (e: RuntimeExceptio
}
}
public inline fun String.toInt2() : Int = java.lang.Integer.parseInt(this)
public inline fun String.toInt2() : Int = this.toInt()
// FILE: 2.kt