fix a few more tests

This commit is contained in:
Dmitry Jemerov
2015-10-08 20:20:27 +02:00
parent 02a242f15a
commit 457e40a0b8
14 changed files with 42 additions and 58 deletions
@@ -1,10 +1,10 @@
public class KOuter: Outer() {
public inner class X(bar: String? = (this@KOuter : Outer).A().bar): Outer.A() {
var next: Outer.A? = (this@KOuter : Outer).A()
val myBar: String? = (this@KOuter : Outer).A().bar
public inner class X(bar: String? = (this@KOuter as Outer).A().bar): Outer.A() {
var next: Outer.A? = (this@KOuter as Outer).A()
val myBar: String? = (this@KOuter as Outer).A().bar
init {
(this@KOuter : Outer).A().bar = ""
(this@KOuter as Outer).A().bar = ""
}
fun foo(a: Outer.A) {