mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
more debug info
This commit is contained in:
parent
af6c3231f3
commit
4164dcc3da
1 changed files with 5 additions and 1 deletions
|
@ -487,7 +487,11 @@ pub(crate) fn canonicalize_defs<'a>(
|
||||||
symbols_introduced.insert(s, r);
|
symbols_introduced.insert(s, r);
|
||||||
|
|
||||||
debug_assert_eq!(env.home, s.module_id());
|
debug_assert_eq!(env.home, s.module_id());
|
||||||
debug_assert!(!symbol_to_index.iter().any(|(id, _)| *id == s.ident_id()));
|
debug_assert!(
|
||||||
|
!symbol_to_index.iter().any(|(id, _)| *id == s.ident_id()),
|
||||||
|
"{:?}",
|
||||||
|
s
|
||||||
|
);
|
||||||
|
|
||||||
symbol_to_index.push((s.ident_id(), def_index as u32));
|
symbol_to_index.push((s.ident_id(), def_index as u32));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue