Commit graph

9785 commits

Author SHA1 Message Date
Michał Kukieła
a3762f60ad Highlight current :target entry name (#7299)
Signed-off-by: Michał Kukieła <53443372+kukimik@users.noreply.github.com>
2024-12-17 08:37:30 +01:00
Brendan Hansknecht
b9269be242
deal with c abi annoyances 2024-12-16 14:38:38 -08:00
Brendan Hansknecht
edd1da7a47
make valgrind happy 2024-12-16 14:38:38 -08:00
Brendan Hansknecht
3325b26490
disable flaky test 2024-12-16 14:38:38 -08:00
Brendan Hansknecht
af8d657ce2
remove stale comment 2024-12-16 14:38:37 -08:00
Brendan Hansknecht
f73000dd24
add in manually drop 2024-12-16 14:38:37 -08:00
Brendan Hansknecht
5cb6cf5586
fix calling conv 2024-12-16 14:38:37 -08:00
Brendan Hansknecht
01e0bef5cc
switch back to env::args 2024-12-16 14:38:37 -08:00
Brendan Hansknecht
c98bf2c54d
cleanup false alg loading 2024-12-16 14:38:37 -08:00
Brendan Hansknecht
1cbf7d96d9
get false interpretter test running again 2024-12-16 14:38:37 -08:00
Brendan Hansknecht
9ed3cda2dd
misc false improvements 2024-12-16 14:38:36 -08:00
Brendan Hansknecht
f51061b200
update false platform to purity inference 2024-12-16 14:38:36 -08:00
J.Teeuwissen
14a338e15b
fixed drop specialization assert for unreachable switch branches on unions 2024-12-16 14:38:36 -08:00
Brendan Hansknecht
32e0ea38ef
Merge pull request #7370 from roc-lang/disable-morphic
limit morphic to trivial analysis to avoid inplace mutation bugs
2024-12-16 11:03:07 -08:00
Sam Mohr
edd7c650b9
Merge pull request #7374 from JRI98/fix_language_server_utf8
Fix language server crash on UTF-8 completion
2024-12-14 23:42:37 -08:00
Richard Feldman
a1d61c5a3c
Merge pull request #7373 from roc-lang/specialize-exprs-when
Specialize when expressions
2024-12-14 22:08:05 -05:00
JRI98
44aec504c0
Fix language server crash on UTF-8 completion 2024-12-15 00:55:15 +00:00
Agus Zubiaga
a51ae4d980
Test multiple patterns per branch 2024-12-14 19:34:29 -03:00
Agus Zubiaga
1503ec4751
Expose to_mono_pattern 2024-12-14 19:30:57 -03:00
Agus Zubiaga
19619e6bf8
Specific lifetime for mono_patterns 2024-12-14 19:29:05 -03:00
Agus Zubiaga
03f9fa31f9
Specialize when branch guards 2024-12-14 19:23:36 -03:00
Agus Zubiaga
dbaa6417a9
Implement dbg mono pattern for CompilerBug 2024-12-14 19:19:18 -03:00
Agus Zubiaga
48e7c5d5d6
Specialize underscore pattern 2024-12-14 19:17:15 -03:00
Agus Zubiaga
90b76db5b1
Specialize number patterns 2024-12-14 18:56:16 -03:00
Agus Zubiaga
3948f485a0
Implement dbg for when mono exprs 2024-12-14 18:14:09 -03:00
Brendan Hansknecht
9fd65ff41b
clarify todo about renabling morphic and perf 2024-12-14 10:31:05 -08:00
Anton-4
1e55134f3b
Merge pull request #7356 from roc-lang/cli-examples-cleanup
cli example removal cleanup
2024-12-14 11:21:43 +01:00
Brendan Hansknecht
1830b3a1f4
limit morphic to trivial analysis to avoid inplace mutation bugs
Surprisingly this actually increases perf of some benchmarks.
My guess is that it fixes bugs during looping and thus reduces work.
Specifically cFold and derive see minor gains ~1.5%; rBTreeCk sees a big gain ~4%.
NQueens is the only benchmark that sees a lost at ~2%.

False interpreter also see a 0-5% perf improvement depending on the exact input.
That said, the improvement was noisy.

ref #7367
2024-12-13 23:11:36 -08:00
Luke Boswell
f772198f76
Merge pull request #7352 from roc-lang/JanCVanB/silence_glue_error
Comment out failing glue assertion for now
2024-12-14 13:56:42 +11:00
Agus Zubiaga
222af2e484
Use MaybeUninit in WhenBranches 2024-12-13 18:46:28 -03:00
Joshua Warner
2389040b39
Fix return backpassing case 2024-12-13 13:45:12 -08:00
Joshua Warner
d56b6b7b20
Add missing indent call 2024-12-13 13:45:12 -08:00
Joshua Warner
3acc6940b4
Fix parenthesized spaces in tag unions 2024-12-13 13:45:12 -08:00
Joshua Warner
02e07f95e7
Fix when indent in the presence of weird multiline patterns 2024-12-13 13:45:12 -08:00
Joshua Warner
1d51f5fbec
Don't eliminate empty record assignment for a return 2024-12-13 13:45:11 -08:00
Joshua Warner
f193c778d5
clippy 2024-12-13 13:45:11 -08:00
Joshua Warner
f233c5328d
lift to spaces in ann_lift_to_node default case 2024-12-13 13:45:11 -08:00
Joshua Warner
d3426ebce1
Fix empty SpaceBefore instance 2024-12-13 13:45:11 -08:00
Joshua Warner
f1d9667ea0
Fix multiline str pattern newline multiplication 2024-12-13 13:45:11 -08:00
Joshua Warner
e9a8588c3e
Refactor pattern apply 2024-12-13 13:45:10 -08:00
Joshua Warner
16c3d4e512
Don't drop spaces before return 2024-12-13 13:45:10 -08:00
Joshua Warner
5a6e0f546b
Generalize RecordAccess special-cases to include TupleAccess 2024-12-13 13:45:10 -08:00
Joshua Warner
d66f51db7b
Don't mix spaces before/after the field separator 2024-12-13 13:45:10 -08:00
Joshua Warner
2857833c35
Normalize return's 'after' 2024-12-13 13:45:10 -08:00
Joshua Warner
17849ca556
Fully normalize in expr record-like things, during formatting 2024-12-13 13:45:10 -08:00
Joshua Warner
f5cd0568dd
Fix newlines after multiline apply func pattern (#7342) 2024-12-13 13:45:09 -08:00
Joshua Warner
8701b922b4
Fix missing indent call (#7346) 2024-12-13 13:45:09 -08:00
Joshua Warner
07f7252573
Implement better comparisons between alias and body 2024-12-13 13:45:09 -08:00
Joshua Warner
8b3abafa08
Force newlines after multi-line tuple pattern elements 2024-12-13 13:45:09 -08:00
Joshua Warner
0cc16b0d2c
Fix bug with when not passing down options 2024-12-13 13:45:09 -08:00