Skip to content
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

Add getCurrentArgument to get type inference for the returned type #243

Closed
henri-tremblay opened this issue Mar 25, 2019 · 0 comments
Closed
Assignees
Milestone

Comments

@henri-tremblay
Copy link
Contributor

We current have getCurrentArguments that returns an array of objects that then need to be cast to the right type. We could remove this cast by adding a <T> T getCurrentArgument(int index). The type will be inferred to what it is assigned to.

@henri-tremblay henri-tremblay added this to the 4.1 milestone Mar 25, 2019
@henri-tremblay henri-tremblay self-assigned this Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant