GROOVY-6086: If two class nodes represent the same array but are distinct (not the same reference), assignment test fails