```
milovidov-desktop :) SELECT -1::INT

Syntax error: failed at position 10 ('::')
```
{
        std::string contents_str(contents_begin, contents_end - contents_begin);
        throw Exception("Argument of function toDate is unquoted: toDate(" + contents_str + "), must be: toDate('" + contents_str + "')"
            , ErrorCodes::SYNTAX_ERROR);
    }
    else if (Poco::toLower(getIdentifierName(identifier)) == "position")
    {
        
        if (const auto * list = expr_list_args->as<ASTExpressionList>())
        {
            if (list->children.size() == 1)
            {
                if (const auto * in_func = list->children[0]->as<ASTFunction>())
                {
                    if (in_func->name == "in")
                    {
                        
                        const auto & arg_list = in_func->arguments->as<ASTExpressionList &>();
                        if (arg_list.children.size() == 2)
                            expr_list_args->children = {arg_list.children[1], arg_list.children[0]};
                    }
                }
            }
        }
    }
    
    if (allow_function_parameters && pos->type == TokenType::OpeningRoundBracket)
    {
        ++pos;