-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Issue 110 #175
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
Issue 110 #175
Conversation
…(and methods that return Collections), rather than just arrays.
…o a Theory (or more accurately, it won't pass objects of the wrong type that it finds in a Collection)
This is linked from issue 110, so closing it here. |
Linking here to issue #110 |
Object dataPoints= dataPointsMethod.invokeExplosively(null); | ||
try { | ||
addArrayValues(dataPointsMethod.getName(), list, dataPoints); | ||
} catch (IllegalArgumentException e) { |
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.
Is there any way to do this that doesn't involve throwing an exception?
@MatrixFrog, do you have further time to spend on this? Thanks. |
Closing for now. Feel free to re-open! |
Could you not doe something like this? Modify addArrayValues to be:
and addFields to be:
|
Just for reference: this pull request has been superseded by #658. |
Fix for issue 110 with test case