Use correct variable when compiling dbg continuation

Closes #5479
This commit is contained in:
Ayaz Hafiz 2023-06-13 16:45:02 -05:00
parent b3c598fcf6
commit c91b82198d
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 21 additions and 2 deletions

View file

@ -6891,7 +6891,7 @@ pub fn from_can<'a>(
Dbg {
loc_condition,
loc_continuation,
variable,
variable: cond_variable,
symbol: dbg_symbol,
} => {
let rest = from_can(env, variable, loc_continuation.value, procs, layout_cache);
@ -6902,7 +6902,7 @@ pub fn from_can<'a>(
layout_cache,
dbg_symbol,
*loc_condition,
variable,
cond_variable,
rest,
)
}