https://kotlinlang.org logo
#announcements
Title
# announcements
d

diesieben07

08/27/2018, 9:19 PM
Can someone confirm if I am correct in that this is a bug?
Copy code
open class Outer {
    open val foo = 3
    open inner class Inner {
        val innerFoo = foo // Accessing non-final property foo in constructor
    }
}
That warning should not be there and in fact it goes away if you use
this@Outer.foo
instead.