Joshua Warner
a5bcf55d08
Implement initial version of fuzzing in CI ( #7316 )
...
* Implement initial version of fuzzing
* try nix config
* try rustup
* rustup run
* Fix syntax
* wip
* specific nightly
* wip
* specific nightly with+
* install
* locked
2024-12-11 12:57:24 +01:00
Brendan Hansknecht
d746e2a041
Merge pull request #7330 from roc-lang/sendsafe-refcounted
...
add RocRefcounted to SendSafe types and add ReadOnly types
2024-12-10 21:58:17 -08:00
Sam Mohr
7998cd165c
Merge pull request #7329 from joshuawarner32/fix-7308
...
Fix as pattern formatting inside apply
2024-12-10 20:43:12 -08:00
Brendan Hansknecht
5d0947960c
fix small string handling
2024-12-10 20:29:46 -08:00
Brendan Hansknecht
5fbf8f5b1c
fmt and clippy
2024-12-10 20:11:28 -08:00
Brendan Hansknecht
98cde41439
add readonly roc list and roc str to roc_std
2024-12-10 20:03:08 -08:00
Brendan Hansknecht
0e162a767d
add RocRefcounted to SendSafe types
2024-12-10 19:34:54 -08:00
Joshua Warner
04612fb2cb
Fix as pattern formatting inside apply
2024-12-10 18:55:40 -08:00
Brendan Hansknecht
f8b0be725c
Merge pull request #7326 from roc-lang/optimize-all
...
Stop ignoring `--optimize` in `roc --optimize main.roc`
2024-12-10 09:38:43 -08:00
Brendan Hansknecht
76cb2b09cd
Stop ignoring --optimize
in roc --optimize main.roc
...
This is just inconvenient and does not make our api better.
Leads to users thinking that roc does not optimize well.
This also allows `roc dev --optimize` (which is the exact same as `roc --optimize`).
If a user wants to do that, it should be fine.
This will all eventually be replaced by the larger cli rewrite.
2024-12-10 08:51:28 -08:00
Sam Mohr
50ec8ef1d1
Merge pull request #7324 from joshuawarner32/fix-can-panics
...
Fix some of the can panics currently encountered test_syntax snapshot tests"
2024-12-10 00:44:01 -08:00
Joshua Warner
93c2ba3b22
Feedback: tuple types -> tuples
2024-12-09 21:24:10 -08:00
Joshua Warner
6b636d9539
Set up module ids properly
2024-12-09 21:24:10 -08:00
Joshua Warner
cbd6d50584
Give an error instead of panicking on an empty tuple type
2024-12-09 21:24:09 -08:00
Luke Boswell
861f9c5d47
Merge pull request #7323 from Elkiders99/Add-legacy-linker-recommendation
...
add legacy linker recommendation
2024-12-09 15:18:51 +11:00
Brendan Hansknecht
6e9f6843c4
Merge pull request #7319 from roc-lang/dec-mul
...
fix dec multiplication with overflow and saturation
2024-12-08 17:08:52 -08:00
Asustin Shotero
149b2d5099
add legacy linker recommendation
...
Signed-off-by: Asustin Shotero <56707055+Elkiders99@users.noreply.github.com>
2024-12-08 21:26:38 -03:00
Luke Boswell
6675734c16
Merge pull request #7314 from shua/wrapped
...
impl add/sub/mul wrapped for u128/i128
2024-12-09 11:19:58 +11:00
Sam Mohr
a59a1fb351
Merge pull request #7305 from JRI98/cleanup_unused
...
Remove unused code
2024-12-08 14:08:28 -08:00
Brendan Hansknecht
562032e2d8
fix dec multiplication with overflow and saturation
...
fixes #7276
2024-12-08 11:14:38 -08:00
Ayaz
793a95264d
Merge branch 'main' into wrapped
2024-12-08 13:54:43 -05:00
Sam Mohr
01f4d4f3da
Merge branch 'main' into cleanup_unused
2024-12-08 10:14:47 -08:00
shua
8a35610c5f
add wasm impl
2024-12-08 13:30:24 +01:00
Luke Boswell
a4fd57e54f
Merge pull request #7310 from joshuawarner32/test_syntax_can
...
Extend test_syntax to check that canonicalization doesn't panic on the input
2024-12-08 21:26:42 +11:00
Luke Boswell
f0cc363b53
Merge pull request #7317 from roc-lang/ayaz/fix-pass-by-reference
...
Fix pass by reference for compare fn
2024-12-08 21:25:52 +11:00
Luke Boswell
2400111033
Merge pull request #7318 from alexnuttall/allow-search-on-qualified-name
...
Allow search on qualified names in docs
2024-12-08 21:25:04 +11:00
Joshua Warner
519bf534b2
Remove commented import
2024-12-07 09:11:52 -08:00
shua
def796f146
PR: refac tests, add all int cases for *wrap tests
2024-12-07 16:27:25 +01:00
Alex Nuttall
7096531205
update search.js
2024-12-07 15:11:16 +00:00
Luke Boswell
f6f2830bac
clippy
2024-12-07 20:37:57 +11:00
Luke Boswell
25ce0875ad
Merge pull request #7312 from MatthewJohnHeath/7287-Make-testing_roc_alloc-align-the-allocation
...
7287 make testing roc alloc align the allocation
2024-12-07 19:49:02 +11:00
Ayaz Hafiz
6ddb65d529
Fix pass by reference for compare fn
...
https://roc.zulipchat.com/#narrow/channel/463736-bugs/topic/LLVM.20IR.20output.20in.20compiler.20crash.20during.20AOC !
2024-12-07 02:02:00 -05:00
Joshua Warner
b4fa7294c7
Extend test_syntax to check that canonicalization doesn't panic on the input
...
Importantly, this would have caught the issue discovered in #7279 , prior to that landing on main.
2024-12-06 17:13:10 -08:00
Sam Mohr
f1fd5c0847
Merge pull request #7313 from smores56/statement-question-fix
...
Fix ?-suffixed statements
2024-12-06 17:02:27 -08:00
Sam Mohr
4abe199747
Fix question statements
2024-12-06 11:01:29 -08:00
Mattthew Heath
3aeab753b4
tidying
2024-12-06 18:44:10 +00:00
Mattthew Heath
8c2cdeb332
aligns at 16 finally
2024-12-06 18:35:49 +00:00
Mattthew Heath
addd826511
Revert "aligns as 8"
...
This reverts commit 82a70c79b8
.
2024-12-06 17:47:08 +00:00
Mattthew Heath
82a70c79b8
aligns as 8
2024-12-06 17:33:12 +00:00
Mattthew Heath
b33f1b0981
aligns as usize
2024-12-06 17:16:24 +00:00
Luke Boswell
e65460b0bf
Merge pull request #7301 from joshuawarner32/fuzzing-bugs-3
...
Fix more bugs found in fuzzing
2024-12-06 15:56:37 +11:00
Joshua Warner
e2d839c050
Remove commented code
2024-12-05 18:56:18 -08:00
Joshua Warner
82bf4b19d8
Fix up LowLevelTry after rebase
2024-12-05 18:54:26 -08:00
Joshua Warner
0855ffd9fb
Feedback: Add comment about not updating fuzz's Cargo.toml
2024-12-05 18:54:25 -08:00
Joshua Warner
6ac6a7c19a
Feedback: dry out term, make fmt_spaces_with_newline_mode more readable, explicitly implement all the variants in ann_lift_spaces
2024-12-05 18:54:25 -08:00
Joshua Warner
8642f8500e
Switch to conservatively checking if the annotation/alias ends in a space before merging
2024-12-05 18:54:24 -08:00
Joshua Warner
e22e37a9c1
Remove accideental dbg!()
2024-12-05 18:54:23 -08:00
Joshua Warner
f833ac9a6b
Fix formatting of Apply nodes with zero args, which the repl generates
2024-12-05 18:54:23 -08:00
Joshua Warner
9a9b96dc69
Fix clippy
2024-12-05 18:54:22 -08:00
Joshua Warner
e620e1c462
Fix warnings
2024-12-05 18:54:22 -08:00