-
-
Notifications
You must be signed in to change notification settings - Fork 79
SizeOf on a reference to a package doesn't work #282
Copy link
Copy link
Open
Description
Firstly, I assume it should do? Based on this bit from the spec:
SizeOfTerm :=
SizeOf (
DataObject // SuperName => <string | buffer | package>
) => Integer
Calling do_size_of on a reference to a package fails with ParseFail(InvalidOperationOnObject { op: SizeOf, typ: Package }) (remembering typ is also the cause of #272, and noting that the match statement does normally handle Object::Package)
If you agree that it should work, @IsaacWoods, then this should be a straightforward fix in do_size_of - or could be rolled up into the other References work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels