Sam Mohr
c7da4f714e
Merge branch 'main' into fix-pnc-try
2025-01-25 05:46:29 -08:00
Sam Mohr
1aff18d47c
Fix PNC + ? suffix interaction
2025-01-25 05:41:59 -08:00
Sam Mohr
cf1cfefadb
Merge pull request #7543 from HajagosNorbert/ascii
...
add with_ascii_uppercased and caseless_ascii_equals to Str
2025-01-24 10:58:22 -08:00
Norbert Hajagos
4fd013eee8
remove unnecesarry capacity check within Str equals
2025-01-24 16:23:14 +01:00
Anton-4
60fcb6089d
link to issue
2025-01-24 15:27:34 +01:00
Norbert Hajagos
fc0a9ec4cf
add with_ascii_uppercased and caseless_ascii_equals to Str
2025-01-23 15:21:11 +01:00
shua
d67d94b15c
merge wasm_str tests into gen_str
...
This change merges the wasm_str.rs and gen_str.rs tests.
Any tests that could be run on all three backends now are, in addition some
tests were added that just fail whenever some unimplemented things get implemented
so the implementer will be forced to start testing the new code.
2025-01-22 22:59:43 +01:00
shua
063dfc37be
Merge branch 'main' into fromutf-roc
2025-01-21 19:13:18 +01:00
Luke Boswell
5b4c8e70d8
Merge pull request #7536 from joshuawarner32/remove-indented-else
...
Remove indented-else syntax from the formatter
2025-01-21 18:02:05 +11:00
Joshua Warner
20d092ea48
Remove indented-else syntax from the formatter
...
This is step 1 in removing the syntax all together. The formatter will now seemlessly migrate everyone to the usual if/then/else syntax. After everyone has had a chance to upgrade, we can then remove this from the parser (in a future PR).
2025-01-20 19:18:37 -08:00
Joshua Warner
3c158f643d
Fix and/or parsing
2025-01-20 17:00:20 -08:00
Joshua Warner
ef4df617ce
Fix type header / pattern equivalence
2025-01-20 17:00:20 -08:00
shua
8146afc860
fix fmt error
2025-01-20 23:12:48 +01:00
shua
359b3d5883
update mono tests
2025-01-20 19:19:43 +01:00
shua
6c29d7aa1f
Merge branch 'main' into fromutf-roc
2025-01-20 19:16:38 +01:00
shua
98fbc4f1fb
rm dbg!'s
2025-01-20 19:08:21 +01:00
Norbert Hajagos
f372e18600
update mono tests
2025-01-20 11:02:59 +01:00
Norbert Hajagos
06640edb63
Use parens, not WSA in tests, add docs linebreaks, factor calls into a var.
2025-01-20 10:58:44 +01:00
Norbert Hajagos
65ec82aa2a
fix failing test for new fn
2025-01-20 10:58:44 +01:00
Norbert Hajagos
41fafc1497
run formatter, change Str.dropPrefix to snake_case in failing test.
2025-01-20 10:58:44 +01:00
Norbert Hajagos
8403f1ea19
with_ascii_lowercased zig builtin
2025-01-20 10:58:41 +01:00
Sam Mohr
809fe23afd
Merge pull request #7533 from smores56/simple-can-solo
...
Move desugaring to new `roc_can_solo` crate
2025-01-19 19:06:10 -08:00
Luke Boswell
c8467b1fe0
Merge pull request #7454 from roc-lang/ayaz/error-on-invalid-generalized-types
...
Restrict usages of type variables in non-generalized contexts
2025-01-20 11:30:52 +11:00
Sam Mohr
4fa5fd6222
Remove vestigial uitest
2025-01-19 15:39:39 -08:00
Sam Mohr
3a6c622727
Fix failing tests, remove unnecessary NONE bitflag
2025-01-19 15:33:01 -08:00
Luke Boswell
5981e4354c
Merge pull request #7510 from joshuawarner32/pnc-fuzzing-fixes-4
...
Fix yet more fuzzing bugs
2025-01-20 09:26:52 +11:00
Luke Boswell
c9b38d839f
fmt
2025-01-20 08:25:53 +11:00
Sam Mohr
fce14d31b0
Move desugaring to new roc_can_solo crate
2025-01-19 07:16:43 -08:00
Joshua Warner
300412a4da
Fix pipe closure after expr
2025-01-18 19:40:52 -08:00
shua
ec9d4fa58b
mv dbg to check proc key hashes
2025-01-19 00:27:06 +01:00
Anton-4
b2e3adf508
proc sort fix #7531 #7514 #7496
2025-01-18 23:15:18 +01:00
Sam Mohr
317f04354f
Fix WASM test
2025-01-17 21:24:23 -08:00
Sam Mohr
7914f0c7d8
Fix clippy issue
2025-01-17 20:01:54 -08:00
Sam Mohr
b8de09d048
Update tests
2025-01-17 19:10:20 -08:00
Sam Mohr
1a9668e83a
Add tests for desugaring and formatting
2025-01-17 18:55:58 -08:00
shua
17624a9d2c
Merge branch 'main' into fromutf-roc
2025-01-18 01:58:14 +01:00
shua
922fe7ecd8
add back linux mono and dbg statement
2025-01-18 01:54:31 +01:00
Sam Mohr
a292e070d4
Prefer and
and or
for boolean operators
2025-01-17 16:15:31 -08:00
Anton-4
3cc3118ffb
update snapshot
2025-01-17 17:46:46 +01:00
Joshua Warner
d42af0b763
Expand handling of guard_needs_parens
2025-01-16 21:32:37 -08:00
Joshua Warner
7f1b3449a6
Correct handling of binop with SpaceAfter in a Body def
2025-01-16 21:32:06 -08:00
Joshua Warner
51f2cdccf7
Relax argument indentation requirements in closures
2025-01-16 21:27:40 -08:00
Joshua Warner
ede015517a
Unify Alias and Annotation formatting
2025-01-16 21:21:02 -08:00
Joshua Warner
6127bd2d26
Move unit assignment handling to lifting phase
2025-01-16 21:19:21 -08:00
Joshua Warner
ff230c4261
Make nodes more strongly normalizing to fix confusion with outdentability
2025-01-16 21:18:21 -08:00
Joshua Warner
a945fd9c5c
Force indent on where clause
2025-01-16 21:17:56 -08:00
Joshua Warner
f08a0012ea
Fix negative float and non-base-10 literal patterns
2025-01-16 21:16:53 -08:00
Joshua Warner
962534e3d1
Fix a couple issues with multiline string literal formatting
2025-01-16 21:16:34 -08:00
Joshua Warner
316ec39af7
Also handle tuple accessors for multiline string checking
2025-01-16 21:16:10 -08:00
Anthony Bullard
d3c400b5e0
Merge pull request #7520 from gamebox/format-new-lambdas
...
Format all lambdas to new syntax
2025-01-16 16:55:10 -06:00