Make ImportFrom level just a u32 (#11170)

This commit is contained in:
Carl Meyer
2024-04-26 20:38:35 -06:00
committed by GitHub
parent 5994414739
commit 845ba7cf5f
34 changed files with 100 additions and 182 deletions

View File

@@ -573,7 +573,7 @@ impl<'src> Parser<'src> {
ast::StmtImportFrom {
module,
names,
level: Some(leading_dots),
level: leading_dots,
range: self.node_range(start),
}
}