mirror of https://github.com/astral-sh/ruff
Update crates/ruff_python_parser/src/lexer.rs
This commit is contained in:
parent
c4e32ea180
commit
224d6df8d0
|
|
@ -1543,8 +1543,6 @@ impl<'src> Lexer<'src> {
|
|||
}
|
||||
}
|
||||
|
||||
dbg!("Handle unclosed string");
|
||||
|
||||
if self.errors.last().is_some_and(|error| {
|
||||
error.location() == self.current_range
|
||||
&& matches!(error.error(), LexicalErrorType::UnclosedStringError)
|
||||
|
|
|
|||
Loading…
Reference in New Issue