Fix code generation for Array<C> element access where C is inline class
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
// WITH_UNSIGNED
|
||||
// IGNORE_BACKEND: JVM_IR, JS_IR, JS
|
||||
|
||||
val xs = Array(2) { 42u }
|
||||
|
||||
fun box(): String {
|
||||
xs[0] = 12u
|
||||
val t = xs[0]
|
||||
if (t != 12u) throw AssertionError("$t")
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user