Indicate index explicitly in SymbolTable debug

This commit is contained in:
greg 2018-10-15 19:37:02 -07:00
parent c52bc65bb9
commit a99a5f10a4
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ impl fmt::Display for SymbolSpec {
use self::SymbolSpec::*;
match self {
Func(type_names) => write!(f, "Func({:?})", type_names),
DataConstructor { index, type_name, type_args } => write!(f, "DataConstructor({})({:?} -> {})", index, type_args, type_name),
DataConstructor { index, type_name, type_args } => write!(f, "DataConstructor(idx: {})({:?} -> {})", index, type_args, type_name),
}
}
}