mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix not being able to dbg variable
This commit is contained in:
parent
74e1bc412f
commit
07b7a93b9f
3 changed files with 26 additions and 10 deletions
|
@ -499,7 +499,7 @@ fn render_dbg_failure<'a>(
|
|||
let data = expectations.get_mut(&module_id).unwrap();
|
||||
|
||||
let current = match data.dbgs.get(&dbg_symbol) {
|
||||
None => panic!("region {failure_region:?} not in list of expects"),
|
||||
None => panic!("region {failure_region:?} not in list of dbgs"),
|
||||
Some(current) => current,
|
||||
};
|
||||
let failure_region = current.region;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue