When I define a class in Groovy with 2 methods with the same name, one private and one public, I get this error during static compilation
Mixing private and public/protected methods of the same name causes > multimethods to be disabled and is forbidden to avoid surprising behaviour. > Renaming the private methods will solve the problem. I understand the need for multi methods and dispatching with runtime types, but how can I disable this behaviour? I am using @CompileStatic and it still hits this error regards Saravanan