|
2018-05-20
| ||
| 08:01 | • Closed ticket [ac867ea57c]: dict exists foo foo returns 0 instead of throwing ... artifact: 57d2c9033f user: apnadkarni | |
| 07:51 | • New ticket [ac867ea57c]. artifact: ad26621046 user: apnadkarni | |
[dict exists foo foo] returns 0 instead of throwing an error
Closed / Duplicateac867ea57cd66839c6b079984d2219bad1e69d67Created 9 years agoUpdated 9 years ago
Descriptionplain2018-05-20 07:51:04
% dict exists foo foo
0
The above should throw an error since {foo} is not a valid dictionary. Consider the roughly equivalent list version
% lsearch {a b "} c
unmatched open quote in list
which seems the correct behaviour to me.
apnadkarni Closed ticket [ac867ea57c].
[History diff]2018-05-20 08:01:30
Log in (anonymous is fine) to add a comment.