Weaken aliased variable names

This commit is contained in:
Ayaz Hafiz 2023-01-12 15:13:18 -06:00
parent c3f1646274
commit 58081ada19
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 6 additions and 7 deletions

View file

@ -3507,9 +3507,9 @@ fn monomorphized_ints_aliased() {
app "test" provides [main] to "./platform"
main =
y = 100
w1 = y
w2 = y
y = \{} -> 100
w1 = \{} -> y {}
w2 = \{} -> y {}
f1 : U8, U32 -> U8
f1 = \_, _ -> 1
@ -3517,7 +3517,7 @@ fn monomorphized_ints_aliased() {
f2 : U32, U8 -> U8
f2 = \_, _ -> 2
f1 w1 w2 + f2 w1 w2
f1 (w1 {}) (w2 {}) + f2 (w1 {}) (w2 {})
"#
),
3,