-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/simplify some validation steps #643
Fix/simplify some validation steps #643
Conversation
- Overzealous conversion of "p of x" to "x's p" mangled some cases of "p of x, y or z"; fix them. - When validating optional arguments, shorten substeps by using "its" more consistently rather than restating the option name. - A few places were operating on options unconditionally. Make those conditional. - When comparing two args (e.g. dataTypes), make the order consistent, i.e. "if filter's dataType is not the same as input's data type". - Prefer "equal to" over "the same as" in algorithms. - Fix a list literal to use «» Also, sneak in another case where [EMULATED] text macro can be used.
This is a preamble to a change that introduces dataType validation to all ops where necessary - this cleanup work was noticed along the way, and keeps that upcoming change nice and clean. |
Please take a look @huningxin and @fdwr ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comments, else LGTM. Thanks Josh.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Josh.
SHA: 26982c4 Reason: push, by fdwr Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Also, sneak in another case where
[EMULATED]
text macro can be used.Preview | Diff