Commit graph

9525 commits

Author SHA1 Message Date
Eli Dowling
21b555d0b2
Merge pull request #7285 from faldor20/purity-inference-module-params-fixes
Purity inference module params fixes
2024-12-01 22:04:30 +10:00
faldor20
f3f262574d
Check if a module is using purity inference and enable purity inference effects 2024-12-01 17:16:29 +10:00
faldor20
8549e48d0b
make effectful functions unify properly 2024-12-01 16:09:42 +10:00
Luke Boswell
8acd31e8f0
Merge pull request #7283 from gamebox/fix-issue-7175-check-crashing-on-module
Add platform data for a check run with a single file
2024-12-01 15:15:03 +11:00
Luke Boswell
d7556be7bf
Merge pull request #7264 from shua/saturated
gen-dev: complete Num{Mul,Add,Sub}Saturated impls
2024-12-01 14:01:48 +11:00
Luke Boswell
7cc24cbced
Merge pull request #7277 from shua/jd/powi
Num.powInt: panic on overflow
2024-12-01 13:05:21 +11:00
Anthony Bullard
2b8ef21720 Add platform data for a check run with a single file 2024-11-30 20:02:52 -06:00
shua
5712e265ae
patch: macos arm64, fix gen-llvm i128 bitcode call 2024-12-01 00:02:49 +01:00
shua
8fd2fbc3a1
gen-dev: complete Num{Mul,Add,Sub}Saturated impls
MulSaturated and AddSaturated are now implemented for u128, i128
SubSaturated is now implemented for Dec even if it's a little strange to
saturate at a decimal value:

```
» Num.subSaturated -170_141_183_460_469_231_731dec 1

-170141183460469231731.687303715884105728 : Dec
```

I decided to rm the `build_num_{mul,add}_saturated` methods because
they don't require any asm-specifics. They either call out to bitcode, or
use the non-saturated version for floats.
2024-11-30 23:01:44 +01:00
Anton-4
74d137cad4
Revert "Merge pull request #7267 from joshuawarner32/fuzzing-bugs-2"
This reverts commit 364249a29d, reversing
changes made to 0e550a7f68.
2024-11-30 18:43:16 +01:00
Richard Feldman
a92cf2fdf9
Merge pull request #7275 from roc-lang/full-width-top-bar
Make the top bar go the full width of docs page
2024-11-30 11:48:05 -05:00
shua
6dfa458e6c
Num.powInt: panic on overflow 2024-11-30 11:26:42 +01:00
Joshua Warner
364249a29d
Merge pull request #7267 from joshuawarner32/fuzzing-bugs-2
Fix a bunch of parser/formatter bugs found in fuzzing
2024-11-29 17:33:57 -08:00
Richard Feldman
855d72b6ba
Put nav last on mobile 2024-11-29 20:20:08 -05:00
Richard Feldman
e9e90ad7ce
Fix overflow-x on <main> 2024-11-29 20:17:59 -05:00
Joshua Warner
ed62bcc15a
Fix a bunch of parser/formatter bugs found in fuzzing
Notably:
* Unified how parens are formatted between (1) when we have a ParensAround, and (2) when we've decided an Apply needs to have parens
* Made unary minus require the be indented to the same level as any other expression continuation. (it used to accidentally have rules meant for binary operators applied)
* Don't apply extra indent to the backpassing continuation in the case that the call does itself require indentation
* Make `try@foo` correctly parse as `try @foo`, so that formatting doesn't change the tree when it adds that space
* Detect more cases where we need to outdent trailing e.g. {} blocks in applies
* Approximately a bagillion other things, 90% of which I added tests for, and none of which affected the formatting of examples or builtins
2024-11-29 16:25:59 -08:00
Richard Feldman
cc919f2f91
Fix docs styling on mobile 2024-11-29 19:08:08 -05:00
Richard Feldman
be3c1a9445
Make the top bar go the full width of docs page 2024-11-29 18:19:50 -05:00
Richard Feldman
0e550a7f68
Merge pull request #7265 from roc-lang/workspace-deps
Update cargo dependencies to use workspace
2024-11-29 17:38:03 -05:00
Luke Boswell
a968251709
Merge pull request #7273 from roc-lang/all-search-results
Show all search results, each with max of 3 lines
2024-11-30 08:35:05 +11:00
Richard Feldman
26e8df3555
Merge pull request #7272 from roc-lang/search-keyboard
Make search box keyboard-friendly
2024-11-29 16:33:14 -05:00
Luke Boswell
9e37b93336
remove accidental change from debugging 2024-11-30 08:27:21 +11:00
Richard Feldman
52b261cf79
Hide the results whenever anyone clicks outside 2024-11-29 15:12:49 -05:00
Anton-4
f2ee47b3e8
Merge pull request #7262 from roc-lang/basic-cli-17-update
update to basic-cli 0.17.0
2024-11-29 20:02:51 +01:00
Richard Feldman
956d07f179
Show all search results, each with max of 3 lines 2024-11-29 13:23:01 -05:00
Richard Feldman
9662b4b11d
Improve search result keyboard styling 2024-11-29 12:57:55 -05:00
Richard Feldman
0bf5c0aa59
Change background on search result hover 2024-11-29 12:54:56 -05:00
Richard Feldman
e528489835
Make search box keyboard-friendly 2024-11-29 12:20:54 -05:00
Richard Feldman
d72da8eb0f
Merge pull request #7268 from roc-lang/site-improvements
Restyle docs search
2024-11-29 03:54:45 -05:00
Richard Feldman
aabef9dd48
Restyle docs search results 2024-11-29 02:18:20 -05:00
Richard Feldman
b456ee9592
Remove a bunch of allocations from docs gen 2024-11-29 01:13:52 -05:00
Richard Feldman
74d0560699
Fix null-safety bug in search.js 2024-11-29 01:07:35 -05:00
Richard Feldman
bfbc9ceef0
Merge pull request #7258 from JRI98/remove_unused_typedhole_variant
Remove unused code
2024-11-29 00:19:49 -05:00
Luke Boswell
440b288ca5
fix glue tests 2024-11-29 15:40:41 +11:00
Luke Boswell
e43b78b354
update to workspace deps for miscellaneous 2024-11-29 11:37:39 +11:00
Luke Boswell
624021bf49
replace cargo deps with workspace in test_solve_helpers, test_syntax, types, uitest, unify, work, worker 2024-11-29 11:31:48 +11:00
Luke Boswell
fdaaca8c8b
replace cargo deps with workspace in lower_parms, module, mono, parse, problem, roc_target, serialize, solve, solve_problem, specialize_types, test_* 2024-11-29 11:29:04 +11:00
Luke Boswell
39ca41c243
replace cargo deps with workspace in gen_wasm, late_solve, load, load_internal 2024-11-29 11:21:57 +11:00
Luke Boswell
3c394028d1
replace cargo deps with workspace in derive_key, exhaustive, fmt, gen_dev, gen_llvm 2024-11-29 11:17:42 +11:00
Luke Boswell
56228a25c0
replace cargo deps with workspace in checkmate, constrain, derive 2024-11-29 11:15:26 +11:00
Luke Boswell
6ce35c4337
replace cargo deps with workspace in alias_analysis, build, builtins, can 2024-11-29 11:12:25 +11:00
Luke Boswell
1d3660df89
replace cargo deps with workspace in roc_std_heap, test_compile, valgrind tests, wasi-libc, wasm_* 2024-11-29 11:07:43 +11:00
Luke Boswell
4d427168a4
replace cargo deps with workspace in repl_*, reporting, roc_std 2024-11-29 11:01:42 +11:00
Luke Boswell
6c6f6e08a9
replace cargo deps with workspace in linker, packaging, repl_* 2024-11-29 10:53:54 +11:00
Luke Boswell
30d8f7ee59
replace cargo deps with workspace in highlight, language server 2024-11-29 10:49:54 +11:00
Luke Boswell
5b0865c27e
replace cargo deps with workspace in docs_cli, fs, glue 2024-11-29 10:47:36 +11:00
Luke Boswell
a529079692
replace cargo deps with workspace in roc_docs 2024-11-29 10:44:44 +11:00
Luke Boswell
73305b97cb
replace cargo deps with workspace in cli_test_utils 2024-11-29 10:42:20 +11:00
Luke Boswell
8ad7ecdc10
replace cargo deps with workspace in roc_build 2024-11-29 10:40:20 +11:00
Luke Boswell
1ecb003887
Merge pull request #7250 from shua/fracdec
implement Num.isNaN,isFinite,isInfinite for Dec
2024-11-29 10:16:17 +11:00