Local interfaces are forbidden now

This commit is contained in:
Mikhail Glukhikh
2015-10-08 20:06:26 +03:00
parent d1ab5168ec
commit 2fee9d362c
24 changed files with 38 additions and 226 deletions
@@ -1,9 +1,9 @@
fun box(): String {
interface L1 {
fun foo(): String
abstract class L1 {
abstract fun foo(): String
}
open class L2(val s: String) : L1 {
open class L2(val s: String) : L1() {
override fun foo() = s
}