Summary
When modifying an array member of a parametric class, the game freezes.
# Class to reference arrays.
# Can be used with large arrays to avoid copy semantics and as function out-parameters.
array_ref(value_type: type) := class<allocates>:
var Values<public> : []value_type = array{}
ArrayRef := array_ref(int){}
set ArrefRef.Values = array. 1 # Works fine after removing this line.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Run the code above.
Expected Result
The game should not freeze.
Observed Result
The game freezes.
Platform(s)
PC