Commit graph

5305 commits

Author SHA1 Message Date
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
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
bf4ac1cbf6
re-enable non-recursive tag union tests 2023-04-04 19:48:40 +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
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
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
Richard Feldman
61d6aab977
fix test 2023-04-02 08:26:09 -04:00
Richard Feldman
7da6ba1082
Add some explanation for graphemes focus 2023-04-02 08:16:04 -04:00
Ayaz Hafiz
630a8e32d4
Clippy 2023-04-02 00:32:20 -05:00
Ayaz Hafiz
c7a1d29695
Fix order of elaborated queries 2023-04-02 00:30:34 -05:00
Ayaz Hafiz
0e47140eaf
Complete instantiation annotations 2023-04-01 20:05:18 -05:00
Ayaz Hafiz
ca5a5c2698
More progress on instantiated annotations in the source 2023-04-01 15:06:44 -05:00
Ayaz Hafiz
bfcafb0be3
Refactor the solve inferrer 2023-04-01 12:45:32 -05:00
Ayaz Hafiz
9d8d36b532
Fix doc comemnt 2023-04-01 10:24:00 -05:00
Ayaz Hafiz
6b3a4b419e
Migrate even more tests 2023-03-31 19:05:10 -05:00
Ayaz Hafiz
346e3f0dd5
Add missing file 2023-03-31 18:36:00 -05:00
Ayaz Hafiz
61adcd34d2
Migrate more tests 2023-03-31 18:35:45 -05:00