The interface states that it should use the stackAllocator
/// `errorMessage` - out parameter used to store and return errors, if any occur. Has to be allocated with stackAllocator.
But most of the code actually uses the passed-in allocator for it which only happens to be the stack allocator (for now), and these errors are also hard to catch in a review.
I think the best solution would be to use a List instead of ListUnmanaged, so there is no chance to use the wrong allocator. The reason for using the unmanaged list is #1181.
This issue should not block the migration effort that has already started.
The interface states that it should use the stackAllocator
/// `errorMessage` - out parameter used to store and return errors, if any occur. Has to be allocated with stackAllocator.But most of the code actually uses the passed-in
allocatorfor it which only happens to be the stack allocator (for now), and these errors are also hard to catch in a review.I think the best solution would be to use a
Listinstead ofListUnmanaged, so there is no chance to use the wrong allocator. The reason for using the unmanaged list is #1181.This issue should not block the migration effort that has already started.