Commit graph

3763 commits

Author SHA1 Message Date
Yuki Omoto
7ef166a11f
remove wrong subtraction in dec div 2023-04-09 11:34:24 +09:00
Folkert de Vries
45769b9044
Merge pull request #5262 from roc-lang/dev-backend-tags
dev backend: make more gen_tags tests pass
2023-04-08 21:17:58 +02:00
Yuki Omoto
f57085da05
refactor dec div 2023-04-09 03:52:17 +09:00
Folkert
67281b2712
handle lambda set when passed as a function argument 2023-04-08 20:14:15 +02:00
Folkert
fdffcc8b36
handle all comparison widths 2023-04-08 19:17:11 +02:00
Yuki Omoto
219e72ff20
Fix dec division problem
Fixed dec division that envolves a number that has a hi word greater than
0 when converted into `U256` like `341dec / 341`.

This commit resolves #5259
2023-04-09 00:00:06 +09:00
Folkert
9dd69f6f9c
Revert "WIP fix for zig functions returning Bool (strEqual)"
This reverts commit 09b01893c6.
2023-04-08 16:56:25 +02:00
Folkert
09b01893c6
WIP fix for zig functions returning Bool (strEqual) 2023-04-08 16:11:04 +02:00
Folkert
b54912b79b
handle lambda set in a couple more cases 2023-04-08 16:10:38 +02:00
Folkert
751e7fbf1e
enable more tag dev tests 2023-04-08 14:12:37 +02:00
Ayaz
e5d13bfc22
Merge pull request #5260 from roc-lang/subs-occur-cache
Do not revisit variables in an occurs check
2023-04-08 07:12:03 -05:00
Folkert
45ac4cd46e
enable more tag dev tests 2023-04-08 13:35:04 +02:00
Folkert
ab2cc76717
special-case true/false loading 2023-04-08 13:30:35 +02:00
Folkert
b982d1a442
enable more tag dev tests 2023-04-08 13:17:23 +02:00
Folkert
a7aa9530b6
load literal symbols when inserting a jump 2023-04-08 13:15:22 +02:00
Folkert
aa54033dd2
enable more tag dev tests 2023-04-08 13:02:24 +02:00
Folkert
1947bbcd0e
encode Bool.true/Bool.false more intelligently 2023-04-08 12:57:52 +02:00
Ayaz Hafiz
4d789cd0c6
Get content unchecked in occurs check 2023-04-07 20:24:04 -05:00
Ayaz Hafiz
e6be13052b
Correct order of cached occurs check 2023-04-07 20:19:58 -05:00
Ajai Nelson
d30fdb9a8f
Add aarch64 instruction doc comments 2023-04-07 01:00:42 -04:00
Ayaz Hafiz
a816f8bc83
Do not revisit variables in an occurs check
Turns out this mark cache check is unreasonably effective, even if it
is naive.
2023-04-06 14:42:31 -05:00
Folkert
92c2931678
make all glue tests run! 2023-04-05 23:19:17 +02:00
Folkert
9a6f9ad26e
functions in structs, in general 2023-04-04 15:01:17 +02:00
Luke Boswell
dc43290647
Merge branch 'main' into builtin-json 2023-04-04 17:21:08 +10:00
Folkert
b7119e9b3a
return record containing function 2023-04-03 23:45:30 +02:00
Ayaz
fe71c389d6
Merge pull request #5245 from roc-lang/migrate-more-uitest
Migrate some more solve tests
2023-04-03 08:05:33 -05:00
Ayaz
ffd4815495
Merge pull request #5244 from roc-lang/reset-rewrap-named-type
re-wrap a named type in morphic spec generation
2023-04-02 13:56:50 -05:00
Ayaz Hafiz
aa7fb75f3e
Drop infer_queries macro 2023-04-02 13:16:04 -05:00
Ayaz Hafiz
c57aaecad4
Migrate pattern tests 2023-04-02 13:15:36 -05:00
Ayaz Hafiz
67364e1a42
Migrate polymorphic lambda set specialization tests 2023-04-02 13:12:51 -05:00
Ayaz Hafiz
e72e17fc82
Migrate list_of_lambdas 2023-04-02 13:03:18 -05:00
Ayaz Hafiz
88b044a765
Migrate ability resolution tests 2023-04-02 13:02:01 -05:00
Ayaz Hafiz
05af17af43
Migrate even more tests 2023-04-02 12:56:01 -05:00
Ayaz Hafiz
2dcafffb46
Migrate couple more tests 2023-04-02 12:53:06 -05:00
Ayaz Hafiz
8148f5d570
Get rid of unused source file 2023-04-02 12:50:24 -05:00
Ayaz Hafiz
bc7e6c4340
Unused test 2023-04-02 12:50:19 -05:00
Folkert
c6de2c4a58
re-wrap a named type in morphic spec generation 2023-04-02 19:01:00 +02:00
Ayaz
d42e831e47
Merge pull request #5242 from roc-lang/solve-specialization-tests
UI tests for the solver
2023-04-02 11:49:37 -05:00
Richard Feldman
2910024be5
Merge pull request #5230 from roc-lang/binop-revisions
Give |> the highest precedence, plus some perf opt
2023-04-02 11:00:44 -04:00
Ayaz Hafiz
b1f076e334
Print as debug 2023-04-02 09:15:37 -05:00
Ayaz Hafiz
25f58a74cc
Trim opts 2023-04-02 09:14:54 -05:00
Ayaz Hafiz
2f43aad8d0
Move uitests to their own crate 2023-04-02 09:11:31 -05:00
Richard Feldman
77ddfd6b9c
Move |> precedence to below arithmetic ops 2023-04-02 10:08:20 -04:00
Richard Feldman
7af55bafe6
Merge pull request #5224 from roc-lang/str-docs
Expand some `Str` docs
2023-04-02 09:49:16 -04:00
Richard Feldman
17bc79a5c5
Drop redundant tests 2023-04-02 09:15:47 -04:00
Richard Feldman
7ade0b5a12
Add tests for binop lookup table operdering 2023-04-02 09:15:46 -04:00
Richard Feldman
80c0978ecb
Add some binop tests 2023-04-02 09:15:46 -04:00
Richard Feldman
72dc754c28
Give |> the highest precedence, plus some perf opt 2023-04-02 09:15:46 -04:00
Richard Feldman
396c9ee8d8
Revert "Reproduce a Bumpalo failure"
This reverts commit 27eac403a5.
2023-04-02 08:28:18 -04:00
Richard Feldman
27eac403a5
Reproduce a Bumpalo failure 2023-04-02 08:28:16 -04:00