Configuration: move scratch tests to separate module

This commit is contained in:
Natalia Selezneva
2019-10-03 09:39:35 +03:00
parent f2f97a9991
commit 17dcdb59de
103 changed files with 174 additions and 78 deletions
@@ -0,0 +1,16 @@
// REPL_MODE: true
class MyClass {
fun foo() = 1
}
MyClass().foo() // RESULT: res1: kotlin.Int = 1
interface I {
fun foo(): Int
}
val i = object: I {
override fun foo(): Int = 1
}
i.foo() // RESULT: res4: kotlin.Int = 1