mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
correct comment
This commit is contained in:
parent
e804501a92
commit
bccab34833
1 changed files with 1 additions and 1 deletions
|
@ -3369,7 +3369,7 @@ pub(crate) fn build_exp_stmt<'a, 'ctx>(
|
|||
// I would like to just do a direct memcpy here, but it is not valid.
|
||||
// Imagine the case where I just swap two referenced args.
|
||||
// (a, b) -> jump (b, a)
|
||||
// This would generate `a` overwriting `b` then `b` overwriting `a`.
|
||||
// This would generate `b` overwriting `a` then `a` overwriting `b`.
|
||||
// That would lead to both values being `b`
|
||||
|
||||
// Instead we copy to a tmp alloca here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue