Fix codefen test case by adding stdlib

This commit is contained in:
Alexander Udalov
2016-10-27 10:44:33 +03:00
parent a6783534f0
commit 455fef90c0
+3 -1
View File
@@ -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()