Configuration: move scratch tests to separate module
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// REPL_MODE: ~REPL_MODE~
|
||||
|
||||
class MyClass {
|
||||
fun foo() = 1
|
||||
}
|
||||
|
||||
MyClass().foo()
|
||||
|
||||
interface I {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
val i = object: I {
|
||||
override fun foo(): Int = 1
|
||||
}
|
||||
i.foo()
|
||||
Reference in New Issue
Block a user