Commit graph

7290 commits

Author SHA1 Message Date
Richard Feldman
e1cc3edb48
Update docs for Dict 2022-03-12 21:59:37 -05:00
Folkert de Vries
1ae5ccaa83
Merge pull request #2687 from rtfeldman/update-mono-list-replace
bump mono tests after List.replace being used in List.set
2022-03-12 13:20:43 +01:00
hafiz
28a3ae85e3
Merge pull request #2704 from rtfeldman/num-to-nat
Add `Num.toNat`
2022-03-11 18:46:43 -06:00
hafiz
5bc29c9b88
Merge pull request #2700 from rtfeldman/optimize-instantiate-alias
improve `correct_mutual_recursive_type_alias`
2022-03-11 17:29:51 -06:00
ayazhafiz
6a71358431 Get rid of more clones when resolving recursive aliases and use fast ImMap 2022-03-11 14:59:19 -06:00
Brendan Hansknecht
d681062c63 add Num.toNat 2022-03-11 11:17:42 -08:00
Tom Dohrmann
17398e4f45 fix listSublist bitcode 2022-03-11 11:32:20 +01:00
Folkert
fc5e09a9e3
use Vec instead of ImSet 2022-03-11 09:52:44 +01:00
Folkert
affacb66be
optimize Type::symbols() 2022-03-11 09:51:06 +01:00
Brendan Hansknecht
cdf19e3feb
Merge pull request #2698 from rtfeldman/i/2696
Make sure casting to unsigned types performs zero-extension
2022-03-10 20:10:33 -08:00
hafiz
8679904fc3
Disable wasm test for now 2022-03-10 18:19:27 -06:00
ayazhafiz
a90bba3d1d Make sure casting to unsigned types performs zero-extension
Closes #2696
2022-03-10 17:39:37 -06:00
Folkert
d222be95b3
fix another merge conflict 2022-03-10 21:38:31 +01:00
Folkert
be214b7931
fix merge conflict 2022-03-10 21:37:33 +01:00
Folkert
e90c12ba1f
Merge remote-tracking branch 'origin/trunk' into box-all-the-things 2022-03-10 18:01:09 +01:00
Folkert de Vries
7fc1272840
Merge pull request #2692 from rtfeldman/walk-return-tag
`List.walk` return tag
2022-03-10 10:12:42 +01:00
hafiz
44453d92c5
Merge pull request #2691 from rtfeldman/llvm-convert-tag
clarify `basic_type_from_layout function`
2022-03-09 20:27:50 -06:00
Folkert
f8ca0694e5
Revert "make type conversion work on 32-bit architectures"
This reverts commit 381ec9c01b.
2022-03-10 00:04:34 +01:00
Folkert
381ec9c01b
make type conversion work on 32-bit architectures 2022-03-09 23:10:07 +01:00
Folkert
98b2ed5d60
add test 2022-03-09 23:07:24 +01:00
Folkert
de6349fbbd
don't double-alloca non-recursive tags 2022-03-09 22:54:56 +01:00
Folkert
29e053abf3
clarify basic_type_from_layout function 2022-03-09 19:01:03 +01:00
Folkert
5d15166bb5
rename 2022-03-09 16:33:36 +01:00
Folkert
10b190917b
bump mono tests after List.replace being used in List.set 2022-03-09 16:15:36 +01:00
Folkert
768703c5df
update reporting; suggestions now have Box in scope 2022-03-09 16:12:11 +01:00
Folkert de Vries
59378d35c6
Update compiler/mono/src/borrow.rs
Co-authored-by: hafiz <20735482+ayazhafiz@users.noreply.github.com>
2022-03-09 15:08:13 +01:00
Anton-4
56dc06a139
fixed the previous formatting change when inside longer pipeline 2022-03-09 14:07:52 +01:00
Folkert
574f14522d
placeholders in the wasm code 2022-03-09 00:04:23 +01:00
Folkert
6543c9bbc6
Merge remote-tracking branch 'origin/trunk' into box-all-the-things 2022-03-09 00:00:15 +01:00
Folkert
be28ee2a64
add test 2022-03-08 22:21:37 +01:00
Folkert
a3d56bce3a
layout of Box a 2022-03-08 22:21:25 +01:00
Folkert
f2b8c89878
clippy 2022-03-08 22:21:13 +01:00
Folkert
4cca0b3b3c
llvm codegen 2022-03-08 22:21:03 +01:00
Folkert
f9c1af1dc4
alias analysis 2022-03-08 22:20:40 +01:00
Folkert
92f2927046
initial implementation 2022-03-08 19:09:42 +01:00
Anton-4
ba5d47d270
Merge branch 'trunk' of github.com:rtfeldman/roc into roc_fmt_fixes 2022-03-08 13:57:20 +01:00
Anton-4
dd85caa85a
removed redundant derefs 2022-03-08 13:56:43 +01:00
Brian Carroll
70804e9bec Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error 2022-03-08 08:58:15 +00:00
Brian Carroll
7e0b439ef5 test_gen: add missing #[test] attribute 2022-03-08 08:57:52 +00:00
Brian Carroll
9ae26c5aac wasm: use __data_end to account for all constant data including zero (bss) data 2022-03-08 08:56:34 +00:00
Brian Carroll
4d14fbf562 wasm: use a debug-friendly enum for refcount tests 2022-03-08 07:43:01 +00:00
Jan Van Bruggen
a2f2434d71 Rename hello-world to hello-c 2022-03-07 19:59:30 -07:00
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Derek Gustafson
c65e3d2bae
Fix how dec is formatted in mono ir. 2022-03-07 16:17:59 -05:00
Derek Gustafson
78cf0b8d2e
Fix fmt. 2022-03-07 15:49:09 -05:00
Derek Gustafson
ba6b225761
Hide RocDec implemntation details. 2022-03-07 15:34:02 -05:00
Folkert
b3b3b8790c
add new Expr variants 2022-03-07 21:13:48 +01:00
Brian Carroll
eaf76aa879 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-runtime-error 2022-03-07 20:02:44 +00:00
Folkert
3510bad1d5
add scaffolding 2022-03-07 20:55:40 +01:00
Brian Carroll
92ace8ff67
Merge pull request #2626 from rtfeldman/gen-dev/quicksort2
Gen dev - Quicksort
2022-03-07 17:46:46 +00:00