mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 15:27:45 +03:00
Check in first erasure test
This commit is contained in:
parent
16ebcba053
commit
6eae480e36
@ -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
|
Loading…
Reference in New Issue
Block a user