Weaken let-bindings to if expressions

This commit is contained in:
Ayaz Hafiz 2023-01-11 17:13:00 -06:00
parent 39b6a509eb
commit 04cf7e070d
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 4 additions and 2 deletions

View file

@ -3418,7 +3418,9 @@ fn polymorphic_lambda_set_multiple_specializations() {
r#"
id1 = \x -> x
id2 = \y -> y
id = if Bool.true then id1 else id2
id = \z ->
f = if Bool.true then id1 else id2
f z
(id 9u8) + Num.toU8 (id 16u16)
"#