{{ message }}
Ensure that param-array matching works correctly#1304
Merged
filmor merged 3 commits intoDec 10, 2020
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1304 +/- ##
=======================================
Coverage 74.04% 74.04%
=======================================
Files 1 1
Lines 289 289
=======================================
Hits 214 214
Misses 75 75
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Sorry, something went wrong.
Member
|
Can you add a test with a mix of keyword and params array arguments? |
Sorry, something went wrong.
Member
Author
|
I added some more tests, but three of them are failing. I commented them out for now and will try to fix them today. |
Sorry, something went wrong.
lostmsu
reviewed
Dec 9, 2020
lostmsu
approved these changes
Dec 9, 2020
We can match n Python parameters to exactly n+1 C# parameters of which the last one is a param-array. Fixes pythonnet#1302.
13871f2 to
b9538b9
Compare
December 10, 2020 17:03
4 tasks
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
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.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.
What does this implement/fix? Explain your changes.
The previous matching code wasn't specific enough for param arrays, the count of parameters has to be exactly right.
Does this close any currently open issues?
#1302
Any other comments?
Checklist
Check all those that are applicable and complete.
AUTHORSCHANGELOG