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
This commit is contained in:
svtk
2011-12-02 14:18:36 +04:00
parent 7155be418d
commit 39ac205b55
13 changed files with 90 additions and 79 deletions
@@ -0,0 +1,8 @@
// 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
}