GROOVY-6235: Wrong overloaded method is selected if overloaded method comes from superclass