KT-419 Strange 'unresolved' bug when using constructor parameters that aren't properties
===
class A(w: Int) {
var c = w
{
c = 17
}
}
===
This commit is contained in:
@@ -76,8 +76,8 @@ public class BodyResolver {
|
|||||||
resolveDelegationSpecifierLists();
|
resolveDelegationSpecifierLists();
|
||||||
resolveClassAnnotations();
|
resolveClassAnnotations();
|
||||||
|
|
||||||
resolveAnonymousInitializers();
|
|
||||||
resolvePropertyDeclarationBodies();
|
resolvePropertyDeclarationBodies();
|
||||||
|
resolveAnonymousInitializers();
|
||||||
|
|
||||||
resolveSecondaryConstructorBodies();
|
resolveSecondaryConstructorBodies();
|
||||||
resolveFunctionBodies();
|
resolveFunctionBodies();
|
||||||
|
|||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
// http://youtrack.jetbrains.net/issue/KT-419
|
||||||
|
|
||||||
|
class A(w: Int) {
|
||||||
|
var c = w
|
||||||
|
|
||||||
|
{
|
||||||
|
c = 81
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user