LlamaLad7 / MixinExtras

Companion library to SpongePowered Mixin with many custom injectors for a more expressive experience.
MIT License
319 stars 17 forks source link

Generalize `allowIncompleteMethodArgs` to `allowIncompleteListInputs` #79

Closed Earthcomputer closed 7 months ago

Earthcomputer commented 7 months ago

This PR generalizes the previous allowIncompleteMethodArgs and introduces the concept of "list inputs". A list input is any time an expression expects a variable number of inputs, typically (but not always) separated by commas. It does not include fixed inputs, such as the inputs to a binary operator.

A list of list inputs: