thread ring benchmark and related bug fixes (non null array creation and wrong signature of enclosing class)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class A() {
|
||||
class B(val i: Int) {
|
||||
}
|
||||
|
||||
fun test() = Array<B> (10, { B(it) })
|
||||
}
|
||||
|
||||
fun box() = if(A().test()[5].i == 5) "OK" else "fail"
|
||||
Reference in New Issue
Block a user