-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ty] Splat variadic arguments into parameter list #18996
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 all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
6a3d6dd
add length to variadic argument
dcreager 114a491
match variadic args
dcreager cf39e0d
resize to variable-length
dcreager c116820
infer correct arity for splatted tuples
dcreager 953af0e
clippy
dcreager 1949dfb
mdlint
dcreager 4f4cf2b
fix those panics
dcreager 0954aab
add comments
dcreager 910bb1d
argument expansion workaround
dcreager e5bc935
mdlint
dcreager 87f2ff9
refine comment
dcreager e8c476d
Combine CallArguments and CallArgumentTypes
dcreager 3a57137
fix docs
dcreager dec9b73
Merge branch 'dcreager/merge-arguments' into dcreager/splat
dcreager 8929733
wrap in option
dcreager 988479d
move around a bit
dcreager 4a13a6f
Merge branch 'dcreager/merge-arguments' into dcreager/splat
dcreager 06f75c4
fix tests
dcreager 40d117b
use FromIterator
dcreager 5fdaed8
remove unused From
dcreager d389168
debug assert lengths
dcreager 900240b
add asserting constructor
dcreager 3a7c04d
add types iterator
dcreager 9a1175c
Merge branch 'main' into dcreager/merge-arguments
dcreager 0f0cd47
Merge branch 'dcreager/merge-arguments' into dcreager/splat
dcreager 67a5f66
Merge branch 'main' into dcreager/splat
dcreager 8b65f34
use type alias for arg/param map
dcreager 043bcb6
better argument expansion regression test
dcreager 57c9afc
add more arg type tests
dcreager d16dbbb
MatchedArgument
dcreager 41447e3
add tests from dhruv
dcreager ec219b4
break out of the right loop
dcreager 3290874
add positional-only tests
dcreager 369ef05
mdlint
dcreager c9b9b48
Merge branch 'main' into dcreager/splat
dcreager abd0c9d
add overload equivalent of every test
dcreager b1b6087
mdlint
dcreager 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
Oops, something went wrong.
Oops, something went wrong.
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.