Introduce Variable: Forbid inside of type references and 'super' references

#KT-8324 Fixed
This commit is contained in:
Alexey Sedunov
2015-09-02 17:59:40 +03:00
parent fa8fcb53c5
commit d7e79e7f28
18 changed files with 136 additions and 0 deletions
@@ -0,0 +1,8 @@
interface T
object O : T
fun foo() {
val o = O
val x = object : T by o {}
}