Fix for KT-8204: java.lang.VerifyError for super method invocation in inline function
#KT-8204 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
public abstract class First {
|
||||
protected static String TEST = "O";
|
||||
|
||||
protected static String test() {
|
||||
return "K";
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package anotherPackage
|
||||
|
||||
import First
|
||||
|
||||
class Test : First() {
|
||||
|
||||
inline fun doTest(): String {
|
||||
return TEST + test()
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Test().doTest()
|
||||
}
|
||||
Reference in New Issue
Block a user