Skip to content

Conversation

@mflatt
Copy link
Contributor

@mflatt mflatt commented Nov 11, 2025

If both arguments to > or >= are not real numbers, complain about the earlier argument. There's generally no guarantee about the order that arguments will be checked, but most checks are left-to-right, so it becomes expected by users. The checks for > and >= were backward only because they're implemented using $< and $<=. This small adjustment to error reporting should have minimal overall impact, since the adjustment is only only in the error case.

@burgerrg
Copy link
Contributor

Please update the release notes. Thanks!

If both arguments to `>` or `>=` are not real numbers, complain about
the earlier argument. There's generally no guarantee about the order
that arguments will be checked, but most checks are left-to-right, so
it becomes expected by users. The checks for `>` and `>=` were
backward only because they're implemented using `$<` and `$<=`. This
small adjustment to error reporting should have minimal overall
impact, since the adjustment is only only in the error case.
@mflatt mflatt force-pushed the gt-arg-error-order branch from 12ba6f9 to 7cb54a0 Compare November 14, 2025 19:04
@mflatt
Copy link
Contributor Author

mflatt commented Nov 14, 2025

Release notes updated — with the same reservations as for #992 , and with the intent of merging the notes, assuming both PR get merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants