This commit is contained in:
Folkert 2022-11-25 18:30:04 +01:00
parent 165db8c885
commit bc3414e913
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -1065,7 +1065,7 @@ pub fn canonicalize_expr<'a>(
output.union(output1);
output.union(output2);
// the symbol is used to bind the condition `x = condition`, adn identify this `dbg`.
// the symbol is used to bind the condition `x = condition`, and identify this `dbg`.
// That would cause issues if we dbg a variable, like `dbg y`, because in the IR we
// cannot alias variables. Hence, we make the dbg use that same variable `y`
let symbol = match &loc_condition.value {