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,4 +1,3 @@
// TARGET_BACKEND: JVM
// FILE: 1.kt
// WITH_RUNTIME
@@ -22,7 +21,7 @@ inline fun <T, R> T.performWithFailFinally(job: (T)-> R, failJob : (e: RuntimeEx
}
}
inline fun String.toInt2() : Int = java.lang.Integer.parseInt(this)
inline fun String.toInt2() : Int = this.toInt()
// FILE: 2.kt