mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-25 05:54:32 +00:00
Use ahash in the compiler
This commit is contained in:
parent
64fa9ccba9
commit
a0790d4906
5 changed files with 14 additions and 10 deletions
|
@ -8,7 +8,7 @@ Inspirational file: https://github.com/python/cpython/blob/master/Python/symtabl
|
|||
*/
|
||||
|
||||
use crate::error::{CompileError, CompileErrorType};
|
||||
use indexmap::map::IndexMap;
|
||||
use crate::IndexMap;
|
||||
use rustpython_ast::{self as ast, Location};
|
||||
use std::fmt;
|
||||
|
||||
|
@ -58,7 +58,7 @@ impl SymbolTable {
|
|||
typ,
|
||||
line_number,
|
||||
is_nested,
|
||||
symbols: IndexMap::new(),
|
||||
symbols: IndexMap::default(),
|
||||
sub_tables: vec![],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue