On 4/12/26 11:28, Paul King wrote:
I added the following GEP to allow discussion and consideration for this
feature:
https://groovy.apache.org/wiki/GEP-15.html <https://groovy.apache.org/
wiki/GEP-15.html>
for discussion:
I would not do a new method in SBA. Well... this is invokedynamic
callsite code now. SBA is not involved in calling methods from the
bytecode anymore. So the callsite code would have to decide this. Even
if SBA where involved I would do this in the Metaclass code itself. Of
course that means, that legacy code would pick up the new behaviour as
well, potentially changing their behaviour