KT-6349 J2K: Static members of enums should be converted to class object members
#KT-6349 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
public enum TestEnum {
|
||||
A,
|
||||
B;
|
||||
|
||||
public static TestEnum parse() { return A; }
|
||||
}
|
||||
|
||||
class Go {
|
||||
void fn() {
|
||||
TestEnum x = TestEnum.parse();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user