use Use#path
This commit is contained in:
parent
7956171411
commit
a32db747e6
1 changed files with 2 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ fn run_file(filename: &str) -> Result<(), String> {
|
||||||
format!("Load({})", l.alias)
|
format!("Load({})", l.alias)
|
||||||
}
|
}
|
||||||
suicmez::ast::TypedASTNodeKind::Use(u) => {
|
suicmez::ast::TypedASTNodeKind::Use(u) => {
|
||||||
format!("Use({})", u)
|
format!("Use({})", u.path)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
println!(" [{}] {}", i, node_type);
|
println!(" [{}] {}", i, node_type);
|
||||||
|
|
@ -293,7 +293,7 @@ fn run_file(filename: &str) -> Result<(), String> {
|
||||||
format!("Load({})", l.alias)
|
format!("Load({})", l.alias)
|
||||||
}
|
}
|
||||||
suicmez::ast::TypedASTNodeKind::Use(u) => {
|
suicmez::ast::TypedASTNodeKind::Use(u) => {
|
||||||
format!("Use({})", u)
|
format!("Use({})", u.path)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
println!(" [{}] {}", i, node_type);
|
println!(" [{}] {}", i, node_type);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue