Fix codefen test case by adding stdlib
This commit is contained in:
+3
-1
@@ -1,3 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
class S(val a: String, val b: String) {
|
||||
operator fun component1() : String = a
|
||||
operator fun component2() : String = b
|
||||
@@ -14,4 +16,4 @@ class Tester() {
|
||||
operator fun S.component4() = ((a + b) as String).substring(2)
|
||||
}
|
||||
|
||||
fun box() = Tester().box()
|
||||
fun box() = Tester().box()
|
||||
|
||||
Reference in New Issue
Block a user