-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
There's an inconsistency here:
> tovector("<2, 3, 3")
<2, 3, 3>
> lljson.sldecode('"!v<2, 3, 3"')
stdin:1: malformed tagged vector: !v<2, 3, 3
stack backtrace:
[C] function sldecode
stdin:1However, I'm hesitant to fix this (by making tovector return nil). I feel like maybe tovector should stay a little more lenient than !v, since it's for reading typo-prone notecards
tovector is consistent with (vector) on this point:
llOwnerSay((string)((vector)"<2, 3, 3")); // <2,3,3>But it's stricter on other points:
> tovector("<2, 3, 3,xx>e1")
nilllOwnerSay((string)((vector)"<2, 3, 3,xx>e1>")); // <2,3,3>Originally posted by @tapple in #61 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels