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:
Ayaz Hafiz 2022-12-01 15:20:15 -06:00
parent 2dfe0276e4
commit 68e364d897
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
10 changed files with 119 additions and 31 deletions

View file

@ -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;