Please have a look at this simple code:
String.metaClass {
getA = {delegate <<= delegate}
}
assert 'a'.a == 'a'.a
Result: Assertion failed: assert 'a'.a == 'a'.a | | | | false aa aa
Why the result is FALSE?
I am working at Groovy 2.4.7 on Windows 7 SP1