LlamaLad7 / MixinExtras

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

Generalize `allowIncompleteMethodArgs` to `allowIncompleteListInputs` #79

Closed Earthcomputer closed 4 months ago

Earthcomputer commented 4 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: