GROOVY-7169: Incorrect least upper bound in case both types are arrays