feat: add size argument to array type #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add size argument to array type (0 = dynamic).
Static arrays should allocate only space for the items, while dynamic arrays should have a pointer to the items and size instead.
This change should benefit FFI and the VM generally.
Instruction
pointeroffor dynamic arrays should return the thing's data pointer rather than the array's.