mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
Support platformStatic members in companion object of enums
#KT-7777 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class Test {
|
||||
public static String foo() {
|
||||
return A.foo;
|
||||
}
|
||||
|
||||
public static String bar() {
|
||||
return A.bar;
|
||||
}
|
||||
|
||||
public static String getBar() {
|
||||
return A.getBar();
|
||||
}
|
||||
|
||||
public static String baz() {
|
||||
return A.baz();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user