Commit Graph

24138 Commits

Author SHA1 Message Date
Jonas Schell
399543a730 use qualified imports for json example 2023-04-09 17:38:21 +02:00
Brendan Hansknecht
f79ef07012
Merge pull request #5263 from yukiomoto/fix-dec-div
Fix dec division problem
2023-04-09 04:00:31 +00:00
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
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 de Vries
3b28e897c3
Merge pull request #5257 from roc-lang/glue-recursive-tag-unions
Glue recursive tag unions
2023-04-06 18:53:41 +02:00
Folkert
f63460eb69
remove some UB 2023-04-06 16:10:31 +02:00
Folkert
92c2931678
make all glue tests run! 2023-04-05 23:19:17 +02:00
Folkert
84d61a0a64
implement enough of non-nullable unwrapped 2023-04-05 17:23:51 +02:00
Folkert
3151a08edb
full implementation for nullable unwrapped 2023-04-05 15:02:53 +02:00
Richard Feldman
d7528c528b
Merge pull request #5249 from roc-lang/glue-return-function
return record containing function
2023-04-05 08:11:29 -04:00
Richard Feldman
4b72d47c93
Merge pull request #5248 from roc-lang/glue-result-option
glue + tests for result and option
2023-04-04 19:18:46 -04:00
Folkert
64f96c4182
formatting 2023-04-04 20:27:20 +02:00
Folkert
dc7f1c32c8
remove crash from canDerivePartialEq 2023-04-04 20:26:47 +02:00
Folkert
bf4ac1cbf6
re-enable non-recursive tag union tests 2023-04-04 19:48:40 +02:00
Anton-4
50fad0c7cc
Merge pull request #5253 from roc-lang/valgrind-avx-512
valgrind crate avx512 fix
2023-04-04 15:49:32 +02:00
Folkert
995e14747b
fix ManuallyDrop usage in tag unions 2023-04-04 15:18:03 +02:00
Folkert
9a6f9ad26e
functions in structs, in general 2023-04-04 15:01:17 +02:00
Anton-4
640582364b
fmt 2023-04-04 13:33:23 +02:00
Anton-4
a59e9169fe
valgrind crate avx512 fix
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-04 13:16:14 +02:00
Folkert
b7119e9b3a
return record containing function 2023-04-03 23:45:30 +02:00
Richard Feldman
c5a4ab043c
clippy 2023-04-03 14:49:52 -04:00
Folkert
178e5ad425
glue + tests for result and option 2023-04-03 19:47:41 +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
Anton-4
dbb8e499cf
Merge pull request #5247 from roc-lang/md-link-fix
fix 404 link
2023-04-03 14:57:32 +02:00
Anton-4
d4d985e246
fix 404 link
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-04-03 11:29:07 +02:00
Richard Feldman
120d7e64c5
Merge pull request #5246 from roc-lang/glue-entry-points
Glue entry points
2023-04-02 20:39:19 -04:00
Folkert
38566a2b9f
add example with arguments 2023-04-02 22:06:04 +02: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
Folkert
3ff17aa0ea
generate signature for the entry points 2023-04-02 20:47:28 +02: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