-
Notifications
You must be signed in to change notification settings - Fork 8
Check that the f
passed to epi[x]_slide
takes enough args
#302
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f0465c4
check num args before ... in f
nmdefries 138cdb0
only warn if dots provided in args
nmdefries e2c8152
test num args errors and warnings
nmdefries 95fc474
use older support for not raising errors in tests
nmdefries 066fb4e
factor out args check
nmdefries ed2a5e9
test slide fn and arg check fn arg warnings
nmdefries 1ec3597
reduce slide arg check test coverage
nmdefries a3f227c
Rename check->assert_sufficient_f_args, tweak warning text & fields
lcbrooks 6825a5c
rename error class to match func name
nmdefries 51b12ee
drop regexp in tests where also specify error class
nmdefries d5466d3
check if required fields already have defaults set
nmdefries 46cf783
test default checking
nmdefries a572464
Suppress forwarded warning from warning+error sufficient-args test
lcbrooks b982526
Account for `...` forwarding in `assert_sufficient_f_args`
lcbrooks 290b4b9
Consider unnamed dots forwarding in `assert_sufficient_f_args`
lcbrooks 34649f8
factor out "dots_i -1" to var
nmdefries 6ebb1a5
import tail
nmdefries f6836d3
Message about right args when `f` default is suspiciously replaced
brookslogan 10fb9e4
Message about right args when they fall into `f`'s dots
lcbrooks f0f0105
Also message about args fed to `f` dots when it has dots first
lcbrooks a872728
Fix and test some other corner cases in f arg checking
lcbrooks File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.