mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 13:34:15 +00:00
Do not attempt to handle aliasing of procs in variable assignments
Please see the comment in the diff to explain the rationale of this change. Closes #4636
This commit is contained in:
parent
2dfe0276e4
commit
68e364d897
10 changed files with 119 additions and 31 deletions
|
|
@ -0,0 +1,13 @@
|
|||
procedure Test.1 (Test.5):
|
||||
let Test.9 : U64 = 1i64;
|
||||
ret Test.9;
|
||||
|
||||
procedure Test.2 (Test.3):
|
||||
let Test.8 : {} = Struct {};
|
||||
let Test.7 : U64 = CallByName Test.1 Test.8;
|
||||
ret Test.7;
|
||||
|
||||
procedure Test.0 ():
|
||||
let Test.4 : {} = Struct {};
|
||||
let Test.6 : U64 = CallByName Test.2 Test.4;
|
||||
ret Test.6;
|
||||
Loading…
Add table
Add a link
Reference in a new issue