mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Check in first erasure test
This commit is contained in:
parent
16ebcba053
commit
6eae480e36
1 changed files with 12 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue