// FIR_IDENTICAL fun testArray(b: Boolean) { Array(5) { i -> if (b) return i } throw AssertionError() } fun testMyArray(b: Boolean) { MyArray(5) { i -> if (b) return i } throw AssertionError() } class MyArray { constructor(size: Int, init: (Int) -> T) }