I just upgraded one of my Grails apps to 2.2.0 which is using Groovy 2.0 and I am now getting this compile error:
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.
Based on the following code:
def getRootDomain(key) { }
private getRootDomain() { }
It's an easy fix but I'd really like to understand the why better. Can someone explain this to me?