codebook icon indicating copy to clipboard operation
codebook copied to clipboard

Inherit parameter names in lambda expressions from the interface

Open Machine-Maker opened this issue 2 years ago • 0 comments

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 avatar Jul 31 '23 01:07 Machine-Maker