Add @JvmStatic Intention: Support functions/properties in objects
Also eliminate unnecessary object instance references on Java call sites #KT-20095 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
class J {
|
||||
void test(C.Companion companion) {
|
||||
companion.foo("x");
|
||||
C.Companion.foo("y");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user