mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-15 21:23:57 +00:00
First pass at erased function layouts
This commit is contained in:
parent
6e5a308557
commit
a9e3f967a8
3 changed files with 39 additions and 36 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# +set function_kind=erased
|
||||
# +emit:mono
|
||||
app "test" provides [main] to "./platform"
|
||||
|
||||
f = \s ->
|
||||
|
|
@ -10,3 +11,5 @@ f = \s ->
|
|||
|
||||
main = (f "") {}
|
||||
# ^^^^ {} -?-> Str
|
||||
|
||||
# -emit:mono
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue