kilianv
731f10981e
Swap the argument order in bitwise shift operators
...
The arguments were probably swapped in the first place because in Elm
they are swapped, because Elm is curried. The new order makes more sense
both with and without the pipe operator
2022-08-20 20:33:10 +02:00
Brian Carroll
334bc7174f
Merge pull request #3742 from roc-lang/cleanup-mono-layout
...
Cleanup/refactoring of lambda set layout generation
2022-08-20 15:48:05 +01:00
Ayaz Hafiz
d1c21e3fcd
Add polymorphic expression reproduction cases from #1745
...
These work now that we have ways to compile polymorphic expressions.
Closes #1745
2022-08-19 22:21:50 -05:00
Ayaz Hafiz
b18af7e1f3
Fix return type of closure
2022-08-19 22:16:41 -05:00
Ayaz Hafiz
bed9b57b58
Add ignored empty record decoding test
2022-08-15 11:11:37 -05:00
Ayaz Hafiz
21c3d0cafa
Add test for string and int record decoding
2022-08-15 11:11:37 -05:00
Ayaz Hafiz
60ed17155c
Check in gen test for record decoding!
2022-08-15 11:11:36 -05:00
Ayaz Hafiz
d01c5c83b7
Check in gen tests that don't work yet
2022-08-15 11:11:33 -05:00
Folkert de Vries
f2a6310137
Merge pull request #3735 from roc-lang/turn-on-abilities-wasm-tests
...
Turn abilities tests for wasm dev and wasm LLVM back on
2022-08-14 16:18:48 +02:00
Ayaz Hafiz
6bcd682dde
Support captures between mutually recursive closures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
4b55416ca1
Add test for outer scope transient captures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
5ead673cfc
Add gen tests for transient closure captures
2022-08-13 10:25:18 -07:00
Ayaz Hafiz
aa26a0da44
Add regression tests for #2419
...
Closes #2419
2022-08-12 15:42:19 -07:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos
2022-08-12 15:24:09 -04:00
Folkert
5b10ebeeb7
Merge remote-tracking branch 'origin/trunk' into i2453
2022-08-11 10:44:26 +02:00
Folkert de Vries
448c8ced53
Merge pull request #3749 from rtfeldman/i2165
...
Regression test for #2165
2022-08-11 10:23:45 +02:00
Folkert de Vries
ae0e90c8f3
Merge pull request #3738 from rtfeldman/i3444
...
Layout generation for recursive lambda sets
2022-08-11 10:22:07 +02:00
Ayaz Hafiz
d8c18cc898
Ignore argument
2022-08-10 20:23:17 -07:00
Ayaz Hafiz
10288d3430
Fix compile errors
2022-08-10 16:10:32 -07:00
Ayaz Hafiz
c423e3f5ce
Regression test for #2165
...
Closes #2165
2022-08-10 16:01:56 -07:00
Ayaz Hafiz
d8e2ca7b1e
Add test for when conditional polymorphic expr becomes a float
...
Closes #2884
2022-08-10 13:20:07 -07:00
Ayaz Hafiz
4d5331557c
Add more tests for recursie lambda sets
2022-08-09 16:12:30 -07:00
Ayaz Hafiz
f20d1ac59a
Typo
2022-08-09 15:30:28 -07:00
Ayaz Hafiz
021cc6e506
Support non-nullable-unwrapped recursive lambda sets
2022-08-09 15:17:16 -07:00
Ayaz Hafiz
c1a7e7893b
Simplify combine
2022-08-09 15:17:09 -07:00
Ayaz Hafiz
4bfac11624
Remove mono test in favor of gen tests
2022-08-09 14:58:57 -07:00
Ayaz Hafiz
9f206e89f4
Turn on LLVM wasm tests for gen_abilities
...
Closes #3708
2022-08-09 09:06:04 -07:00
Ayaz Hafiz
b572b0b287
Turn on abilities tests for gen-wasm
...
Closes #3708
2022-08-09 09:04:34 -07:00
Folkert de Vries
e5e297aa2c
Merge pull request #3723 from rtfeldman/wasm-stack-size-control-i2490
...
CLI argument for Wasm dev stack size
2022-08-09 12:33:38 +02:00
Folkert de Vries
cbf8602430
Merge pull request #3676 from rtfeldman/complete-num-add
...
gen_dev: Support all number types in NumAdd
2022-08-09 11:35:55 +02:00
Brian Carroll
86b5db10d5
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-stack-size-control-i2490
2022-08-08 22:39:26 +01:00
Brian Carroll
dd040d5f73
wasm: add stack_bytes field to Env
2022-08-08 21:41:25 +01:00
Folkert de Vries
168d5bce31
Merge pull request #3719 from rtfeldman/wasm-fix-gen-primitives
...
test_gen: fix Rust types where expected value is a function
2022-08-08 21:27:02 +02:00
Brian Carroll
e8003137d6
test_gen: fix Rust types where expected value is a function
2022-08-07 20:26:23 +01:00
Christoph Rüßler
003408e3ef
Merge remote-tracking branch 'origin/trunk' into complete-num-add
2022-08-07 19:52:06 +02:00
Christoph Rüßler
6d66b0deb6
Add support for i16/u16 to NumAdd
2022-08-07 19:41:35 +02:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform
2022-08-07 13:28:03 +02:00
Brian Carroll
50326f7e0b
Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-code-gen-fixes-i3448
2022-08-06 10:12:24 +01:00
Brian Carroll
aa0e9e8d31
wasm: Get RC reset/reuse working correctly
2022-08-06 09:58:47 +01:00
Ayaz
d4e81ccbd2
Merge pull request #3695 from rtfeldman/derive-decoding-list
...
Derive decoding for lists!
2022-08-05 10:41:24 -05:00
Brian Carroll
e71a6da62d
wasm: fix refcount bug in higher order low-levels
2022-08-05 09:51:51 +01:00
Ayaz
deb6231d8c
Turn off test on gen-wasm for now
2022-08-04 17:13:09 -05:00
Folkert de Vries
510016bf6e
Merge pull request #3680 from rtfeldman/derive-decoders-1
...
Derive immediate decoders for basic types
2022-08-05 00:07:52 +02:00
Folkert de Vries
801f692067
Merge pull request #3697 from rtfeldman/test-interfaces
...
Allow `roc test` on interface modules
2022-08-05 00:01:38 +02:00
Richard Feldman
7518164cac
Move an import to avoid an unused warning
2022-08-04 13:52:36 -04:00
Richard Feldman
304c2c0bb0
Fix test_gen::helpers::dev
2022-08-04 13:52:35 -04:00
Folkert de Vries
9f2ddc61d8
Merge pull request #3699 from rtfeldman/wasm-fix-uninit-capacity
...
Wasm: fix uninitialised capacity in List literals
2022-08-04 15:24:55 +02:00
Brian Carroll
f526005249
test_gen: make default option more obvious on wasm debug page
2022-08-04 12:15:31 +01:00
Brian Carroll
acc83bde7c
test_gen: Fix an inaccurate test return value
2022-08-04 10:00:21 +01:00
Brian Carroll
be6408227a
test_gen: change some i64's to usize's
2022-08-04 09:29:30 +01:00