Incorrect f-string parsing (#112)

* Fix parse_fstring

* Add test

* Push char

* Remove unused import
This commit is contained in:
yt2b 2024-01-23 17:20:32 +09:00 committed by GitHub
parent 8731e9fc50
commit 9ce55aefde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 3 deletions

View file

@ -1,7 +1,5 @@
use crate::text_size::{TextRange, TextSize};
pub use crate::builtin::*;
pub trait Ranged {
fn range(&self) -> TextRange;