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:
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
class J {
|
||||
void test(O o) {
|
||||
o.foo("x");
|
||||
O.INSTANCE.foo("y");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user