GROOVY-6072: "String | []" is converted to a ClassExpression at semantic analysis