Check in first erasure test

This commit is contained in:
Ayaz Hafiz 2023-06-23 09:58:21 -05:00
parent 16ebcba053
commit 6eae480e36
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -0,0 +1,12 @@
# +set function_kind=erased
interface Test exposes [main] imports []
f = \s ->
if Bool.true
then \{} -> ""
# ^^^^^^^^^ {}* -[[#Attr.#Erased(33)]]-> Str
else \{} -> s
# ^^^^^^^^ {}* -[[#Attr.#Erased(33)]]-> Str
main = f ""
#^^^^{-1} {}w_a -[[#Attr.#Erased(33)]]-> Str