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:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user