Re: Error with functions using same name

2025-04-19 Thread Jochen Theodorou
On 19.04.25 12:32, Saravanan Palanichamy wrote: 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 i

Error with functions using same name

2025-04-19 Thread Saravanan Palanichamy
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