Fixed the bug that the access parsing is wrong when multiple query conditions contain arrays or map. (#433)

This commit is contained in:
Simon Liu 2022-03-13 03:29:37 +08:00 committed by GitHub
parent 6b55e51101
commit 497a3b0e1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 71 additions and 21 deletions

View file

@ -1285,7 +1285,7 @@ impl<'a> Parser<'a> {
Token::Mul | Token::Div | Token::Mod | Token::StringConcat => Ok(40),
Token::DoubleColon => Ok(50),
Token::ExclamationMark => Ok(50),
Token::LBracket => Ok(10),
Token::LBracket => Ok(50),
_ => Ok(0),
}
}