KT-3812 Can't work with akka via kotlin - java.lang.AssertionError: Couldn't resolve class *$
KT-4036 Couldn't resolve inner class akka.io.Tcp.Command.class #KT-3812 Fixed #KT-4036 FIxed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
public class kt3812 {
|
||||
public class Inner {
|
||||
|
||||
}
|
||||
|
||||
public class Inner$ {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun box(): String {
|
||||
kt3812().Inner()
|
||||
kt3812().`Inner$`()
|
||||
return "OK"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class kt4036 {
|
||||
public class Inner1$class {
|
||||
|
||||
}
|
||||
|
||||
public class Inner2$class {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
fun box(): String {
|
||||
kt4036().`Inner1$class`()
|
||||
kt4036().`Inner2$class`()
|
||||
return "OK"
|
||||
}
|
||||
+10
@@ -140,6 +140,16 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
|
||||
doTestWithJava("compiler/testData/codegen/boxWithJava/innerClass/kt3532.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt3812.kt")
|
||||
public void testKt3812() throws Exception {
|
||||
doTestWithJava("compiler/testData/codegen/boxWithJava/innerClass/kt3812.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt4036.kt")
|
||||
public void testKt4036() throws Exception {
|
||||
doTestWithJava("compiler/testData/codegen/boxWithJava/innerClass/kt4036.kt");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/boxWithJava/property")
|
||||
|
||||
Reference in New Issue
Block a user