Files
kotlin-fork/compiler/testData/diagnostics/tests/scopes/kt421Scopes.jet
T
svtk 39ac205b55 KT-250 Incorrect variable resolve in constructor arguments of superclass
KT-10 Don't allow to use properties in supertype initializers
KT-617 Prohibit dollars in call to superclass constructors
2011-12-02 14:18:36 +04:00

9 lines
211 B
Plaintext

// http://youtrack.jetbrains.net/issue/KT-421
// KT-421 Strange 'unresolved' bug with backing fields
class A() {
val c = 1
val a = <!UNINITIALIZED_VARIABLE!>b<!>
val b = $c // '$c' is unresolved
}