**Describe the issue**
```
SELECT x[1]::UInt64

Syntax error: failed at position 12 ('::')
```

{
    
    if (pos->type == TokenType::Minus)
    {
        Pos begin = pos;
        if (ParserCastOperator().parse(pos, node, expected))
            return true;
        pos = begin;
        if (ParserLiteral().parse(pos, node, expected))
            return true;
        pos = begin;
    }
    return operator_parser.parse(pos, node, expected);
}
bool ParserCastExpression::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)