J2K breaks code if applied to a java class with static field which is accessed from another java class

#KT-11587 Fixed
This commit is contained in:
Natalia Ukhorskaya
2016-03-24 14:36:46 +03:00
parent c7ae9981cb
commit 79bac598bf
16 changed files with 97 additions and 72 deletions
@@ -2,8 +2,8 @@ package test;
class C {
void foo() {
Utils.INSTANCE.foo1(Utils.staticField);
Utils.staticField += Utils.INSTANCE.foo2();
Utils.INSTANCE.foo1(Utils.INSTANCE.getStaticField());
Utils.INSTANCE.setStaticField(Utils.INSTANCE.getStaticField() + Utils.INSTANCE.foo2());
PureUtils.INSTANCE.foo1(PureUtils.INSTANCE.foo2())
}
}