use Use#path

This commit is contained in:
flameyosflow 2025-12-16 13:06:54 +02:00
commit a32db747e6

View file

@ -240,7 +240,7 @@ fn run_file(filename: &str) -> Result<(), String> {
format!("Load({})", l.alias)
}
suicmez::ast::TypedASTNodeKind::Use(u) => {
format!("Use({})", u)
format!("Use({})", u.path)
}
};
println!(" [{}] {}", i, node_type);
@ -293,7 +293,7 @@ fn run_file(filename: &str) -> Result<(), String> {
format!("Load({})", l.alias)
}
suicmez::ast::TypedASTNodeKind::Use(u) => {
format!("Use({})", u)
format!("Use({})", u.path)
}
};
println!(" [{}] {}", i, node_type);