IMO, we should compare their type first. If not same, the comparing result should be 'false'.
在 "bo zhang [via Groovy]" <ml-node+[hidden email]
I'm afraid it's not a bug.
Actually, `def a=new int` means that a is an array of two null pointers with type "int ", and `def b=new int` means that b is an array of two null pointers with type "int", it seems that they should be equal.
View this message in context: Re: An issue about comparing arrays
Sent from the Groovy Dev mailing list archive at Nabble.com.