Repository navigation
Fix/simplify some validation steps - #643
Merged
fdwr merged 2 commits intoApr 18, 2024
Merged
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.
Contributor
Author
|
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. |
Contributor
Author
|
Please take a look @huningxin and @fdwr ? |
huningxin
approved these changes
Apr 17, 2024
huningxin
left a comment
Contributor
There was a problem hiding this comment.
LGTM, thanks for the fix!
github-actions Bot
added a commit
that referenced
this pull request
Apr 18, 2024
SHA: 26982c4 Reason: push, by fdwr Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also, sneak in another case where
[EMULATED]text macro can be used.Preview | Diff