createImmutable

inline fun createImmutable(indexedSlotCount: Int = 0, init: AvailObject.() -> Unit): AvailObject

Create a new object whose descriptor is the receiver, and which has the specified number of indexed (variable) slots.

Return

The new uninitialized object.

Parameters

indexedSlotCount

The number of variable slots to include.