Fix for KT-9788: AssertionError from back-end when we read field from inline function
#KT-9788 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class JavaClass {
|
||||
|
||||
protected String FIELD = "OK";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
import JavaClass
|
||||
|
||||
class B : JavaClass() {
|
||||
inline fun bar() = FIELD
|
||||
}
|
||||
|
||||
fun box() = B().bar()
|
||||
Reference in New Issue
Block a user