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

Inherit parameter names in lambda expressions from the interface #17

Open
Machine-Maker opened this issue Jul 31, 2023 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@Machine-Maker
Copy link
Member

Machine-Maker commented Jul 31, 2023

Currently, if the mappings are completed for an interface and that interface is used to create a lambda, the parameters of that lambda do not inherit the names from the interface.

Some examples in the source, in ExecuteCommand, the field CALLBACK_CHAINER's inner lambda does not have the correct parameter mappings which are set for ResultConsumer. Also in FillBiomeCommand#makeResolver, the returned lambda for BiomeResolver does not inherit parameter names from the interface.

@Machine-Maker Machine-Maker added the bug Something isn't working label Jul 31, 2023
@DenWav DenWav added enhancement New feature or request and removed bug Something isn't working labels Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants