Correctly map declaration owner in JVM codegen

"context.contextKind()" was incorrect in
ExpressionCodegen.intermediateValueForProperty(), because it represents the
context of the call site, not the context of the property declaration

 #KT-4878 Fixed
This commit is contained in:
Alexander Udalov
2014-04-18 20:37:06 +04:00
parent fbf9f5f7d0
commit d913dfb1aa
9 changed files with 57 additions and 38 deletions

View File

@@ -0,0 +1,5 @@
class fieldAccessViaSubclass {
public String fieldO;
public static String fieldK;
}