Show bindings too in debug
This commit is contained in:
parent
e7c89ed840
commit
b4c7ea3d02
@ -185,6 +185,10 @@ impl TypeContext {
|
||||
for (sym, ty) in &self.symbol_table.values {
|
||||
write!(output, "{} -> {:?}\n", sym, ty).unwrap();
|
||||
}
|
||||
write!(output, "\nBindings\n").unwrap();
|
||||
for (sym, ty) in &self.bindings {
|
||||
write!(output, "{} : {:?}\n", sym, ty).unwrap();
|
||||
}
|
||||
output
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user