Richard Feldman
304c2c0bb0
Fix test_gen::helpers::dev
2022-08-04 13:52:35 -04:00
Richard Feldman
7f65298cf5
Fix a warning when testing with --release
2022-08-03 22:59:50 -04:00
Richard Feldman
d9992e26b1
Fix wasm test helper
2022-08-03 22:59:36 -04:00
Richard Feldman
0de889c1e9
Rename to_goal_phase, per Clippy's suggestion
2022-08-03 19:50:24 -04:00
Richard Feldman
d260d1e593
Make entry points optional in code gen
2022-08-03 19:50:24 -04:00
Richard Feldman
e685eba42b
fix tests
2022-08-03 19:50:17 -04:00
Richard Feldman
3136c5fb63
Allow testing interface modules
2022-08-03 19:49:48 -04:00
Richard Feldman
afb857d3e9
Merge pull request #3682 from rtfeldman/windows-linking
...
Windows linking
2022-08-03 15:33:22 -04:00
Anton-4
6697e353a1
Merge pull request #3674 from rtfeldman/decode-obligation-checking
...
Obligation checking for derivability of Decode
2022-08-03 14:19:20 +02:00
Folkert de Vries
b4880ae66f
Merge pull request #3689 from rtfeldman/fix/3685-Str.splitLast
...
Fix Str.splitLast for needle positioned last
2022-08-03 13:27:25 +02:00
Folkert de Vries
f233fae480
Merge pull request #3690 from rtfeldman/3318-is-multiple-of-unsigned
...
Fix `Num.isMultipleOf` for unsigned ints
2022-08-03 13:25:56 +02:00
Folkert de Vries
3a8a251098
Merge branch 'windows-linking' of https://github.com/rtfeldman/roc into windows-linking
2022-08-03 11:41:50 +02:00
Folkert de Vries
940d912ca0
unknown is unix, right
2022-08-03 11:41:44 +02:00
Anton-4
2b08347e66
cap retries on flaky error
2022-08-03 11:30:47 +02:00
Mostly Void
d6a54710d6
Fix Str.splitLast
...
This fixes the behavior of the function when the needle is positioned
last in the haystack.
» Str.splitLast "ehllo,," ",,"
Ok { after: "", before: "ehllo" } : Result { after : Str, before : Str } [NotFound]*
2022-08-03 11:30:49 +05:30
Ayaz
d0890e0694
Merge pull request #3677 from rtfeldman/refactor-derive-tests
...
Refactor deriving tests to put testing utilities in separate module
2022-08-02 21:04:03 -05:00
Ayaz Hafiz
327246d69f
Update solve tests
2022-08-02 16:58:20 -05:00
Ayaz Hafiz
3ec68fb3ef
Update type variables in derive tests
2022-08-02 16:16:12 -05:00
Ayaz Hafiz
6ebb0bfa6d
Fix solve tests
2022-08-02 16:15:35 -05:00
Ayaz Hafiz
9877224678
Turn on deriver tests that work again
...
Blocked on #3643
2022-08-02 16:15:35 -05:00
Folkert de Vries
a00cb58660
Merge pull request #3679 from rtfeldman/i3669
...
Choose recursion var when merging arbitrary variables, when possible
2022-08-02 22:09:50 +02:00
Folkert de Vries
1dffa4a734
Merge remote-tracking branch 'origin/trunk' into windows-linking
2022-08-02 21:43:46 +02:00
Ayaz Hafiz
db53ebf1bb
Fix merge conflicts
2022-08-02 14:35:13 -05:00
Ayaz Hafiz
d9959c8650
Update solve tests
2022-08-02 14:32:27 -05:00
Anton-4
ced2b2cda9
auto-retry flaky zig on FileNotFound
2022-08-02 14:31:17 -05:00
Ayaz Hafiz
fb5ab7d7ca
More aggressive inlining
2022-08-02 14:31:17 -05:00
Ayaz Hafiz
19e93962cb
Check for builtin opaque types that always have a derived impl
2022-08-02 14:31:17 -05:00
Ayaz Hafiz
57c1bed218
Include Decode aliases
2022-08-02 14:31:17 -05:00
Ayaz Hafiz
4bbc6b74fc
Add derivability obligation checking for Decode
2022-08-02 14:31:16 -05:00
Ayaz Hafiz
a7bc8cf4f2
Switch obligation checking to use a visitor
...
My hope is this will make obligation checking for other abilities easier
to add when we do so
2022-08-02 14:30:10 -05:00
Ayaz Hafiz
86229718ad
Remove file that hasn't landed yet
2022-08-02 14:29:50 -05:00
Ayaz Hafiz
05d8bca0fb
Move DeriveBuiltin to derive_key
2022-08-02 14:29:49 -05:00
Ayaz Hafiz
6f06a59cdf
Condition derive tests on derived method
2022-08-02 14:28:20 -05:00
Ayaz Hafiz
c3383da994
Refactor deriving tests to put testing utilities in separate module
...
As we prepare to add derivers for Decoders, we'll want to use this same
infrastructure for Decoder derive tests. This pulls out the common test
infrastructure into a separate module under test_derive.
2022-08-02 14:28:20 -05:00
Ayaz
fa14146054
Merge pull request #3531 from rtfeldman/decode
...
Very basic Decode.roc in the standard library
2022-08-02 14:26:28 -05:00
Folkert de Vries
614044e6a0
ugh
2022-08-02 21:26:13 +02:00
Folkert de Vries
86a1a0f401
Merge pull request #3643 from rtfeldman/disjoint-able-variable-specialization
...
Disjoint able variable specialization algorithm
2022-08-02 20:31:47 +02:00
Folkert de Vries
b0b6d89480
revert some stuff that slipped through
2022-08-02 20:25:55 +02:00
Folkert de Vries
86f2bb4343
add darwin as a supported OS
2022-08-02 19:54:44 +02:00
raleng
36f97b1925
Use build_int_unsigned_rem for unsigned ints
2022-08-02 18:29:11 +02:00
raleng
c54d99df7f
Check rhs == -1 only for signed ints
2022-08-02 18:28:41 +02:00
Folkert de Vries
0c72bf7e1f
formatting
2022-08-02 18:06:29 +02:00
raleng
06f1bead96
Enable gen_llvm is_multiple_of_unsigned test
2022-08-02 16:00:29 +02:00
Folkert de Vries
fc369ddebb
windows create dylibs for gen tests
2022-08-02 15:38:05 +02:00
Folkert de Vries
f601a56d52
Revert "be explicit about the target"
...
This reverts commit 882ac1ea48
.
2022-08-02 15:37:38 +02:00
Ayaz Hafiz
6536a69c5b
Remove stray panic
2022-08-02 08:21:53 -05:00
Ayaz Hafiz
394a76a7cd
Remove unused arg
2022-08-02 08:15:54 -05:00
Ayaz Hafiz
fc9ff928eb
Choose non-recursion var when merging arbitrary variables, when possible.
...
Closes #3669
2022-08-02 08:15:54 -05:00
Folkert de Vries
882ac1ea48
be explicit about the target
...
on windows, the file extentions are not enough to derive the target
2022-08-02 14:55:38 +02:00
Folkert de Vries
19159d170a
Merge remote-tracking branch 'origin/trunk' into windows-linking
2022-08-02 14:11:02 +02:00