Open github-actions[bot] opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
[VM/values/comparison] how should we handle Dictionary values? right now, both
<
and>
simply return false but is it even a normal idea to compare a Dictionary with something else, or another dictionary for that matter? How do other languages (e.g. Ruby, Python) handle this? If the final decision is to not support this, then we should throw an appropriate error message (e.g. "cannot compare Dictionary values"), along with an appropriate (new) error template at VM/errors see also: https://github.com/arturo-lang/arturo/pull/1139https://github.com/arturo-lang/arturo/blob/269a723e23971f7c5ba310f6c3539852a6f016e3/src/vm/values/comparison.nim#L222
a654873c383e685c8b18a8652379468ee6f70901