Get rid of reduntant jvm parts in tests
This commit is contained in:
+2
-2
@@ -1,9 +1,9 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
|
||||
open class Base(val bar: String)
|
||||
|
||||
class Foo(bar: String) : Base(bar) {
|
||||
fun something() = (bar as java.lang.String).toUpperCase()
|
||||
fun something() = bar.toUpperCase()
|
||||
}
|
||||
|
||||
fun box() = Foo("ok").something()
|
||||
|
||||
Reference in New Issue
Block a user