Closed acutmore closed 3 years ago
Just seen that it is already the case that Symbols are not allowed in shared struct
. So already have a case where a primitive throws. So Box
does not really introduce anything new here 🙂
@acutmore tbf it's still new even if there's a dozen stage 1 proposals that add it :-p
A curiosity more than an 'issue'. The Record&Tuple proposal could end up introducing primitives that contain references to objects.
What do we think should happen when these interact with shared structs?
Would it immediately throw as this isn't deeply primitive?
EDIT: clarify
shared struct