1afbb961ee
#KT-7135 Fixed
16 lines
343 B
Plaintext
16 lines
343 B
Plaintext
package test;
|
|
|
|
class C {
|
|
void foo(ClassWithStatics c) {
|
|
ClassWithStatics.Companion.staticMethod(ClassWithStatics.staticField);
|
|
c.instanceMethod();
|
|
ClassWithStatics.staticField += 2;
|
|
}
|
|
}
|
|
|
|
class D extends ClassWithStatics {
|
|
void foo() {
|
|
Companion.staticMethod(staticField);
|
|
value *= 2;
|
|
}
|
|
} |