Raise error when failing to parse (#199)

This commit is contained in:
Charlie Marsh 2022-09-14 22:37:55 -04:00 committed by GitHub
parent 67b1d0463a
commit b8f12d2e79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 4 deletions

View file

@ -33,6 +33,7 @@ fn main() {
CheckKind::NotIsTest,
CheckKind::RaiseNotImplemented,
CheckKind::ReturnOutsideFunction,
CheckKind::SyntaxError("...".to_string()),
CheckKind::TooManyExpressionsInStarredAssignment,
CheckKind::TrueFalseComparison(true, RejectedCmpop::Eq),
CheckKind::TwoStarredExpressions,