KT-11952 J2K: Assertion failed in PropertyDetectionCache.get on conversion of access to Java constant of anonymous type
#KT-11952 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import test.Bar;
|
||||
|
||||
public class Foo {
|
||||
public static void foo() {
|
||||
Object o = Bar.SET;
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import test.Bar
|
||||
|
||||
object Foo {
|
||||
fun foo() {
|
||||
val o = Bar.SET
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public interface Bar {
|
||||
Set<String> SET = new HashSet<String>() { };
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
public interface Bar {
|
||||
Set<String> SET = new HashSet<String>() { };
|
||||
}
|
||||
Reference in New Issue
Block a user