cancaicai
bc2acb3dd0
test/rust: add missing escaped chars
...
Signed-off-by: cancaicai <2356672992@qq.com>
2025-02-18 21:17:50 +08:00
Joshua Warner
86325e2d2f
Merge pull request #7619 from joshuawarner32/migrate-braces
...
Implement a migration to new braces syntax and add migrate tests
2025-02-17 15:17:40 -08:00
Joshua Warner
109cb93b20
Implement a migration to new braces syntax and add migrate tests
2025-02-16 20:37:28 -08:00
cancaicai
8c9de7c7ab
parser/rust: improve word method comments and examples
...
Signed-off-by: cancaicai <2356672992@qq.com>
2025-02-16 21:13:39 +08:00
Luke Boswell
25b076b945
Merge pull request #7569 from joshuawarner32/zig-tokenizer
...
Implement initial roc tokenizer in zig
2025-02-06 11:07:42 +11:00
Jan
68e524e110
snake_case
-ify all remaining camelCase
names in hiding (#7561 )
...
* Snake-case-ify def names in comments
* Snake-case-ify def names in strings
* Snake-case-ify ignored function parameters
* Snake-case-ify test script names, for consistency
* Update CI snapshot to match snake_case
* snake case correction
---------
Co-authored-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2025-02-05 16:05:03 +01:00
Joshua Warner
ce8f7065db
Implement initial roc tokenizer in zig
2025-02-04 21:40:51 -08:00
Sam Mohr
670d255060
Merge pull request #7130 from snobee/annotate-type-signatures
...
Automatic annotation of type signatures
2025-01-31 11:46:12 -05:00
Joshua Warner
0107d6b9c4
Suppress TrySuffix movement around PncApply unless --migrate is passed
...
This is currently causing a bunch of fuzzing noise in main. Also added a comment to clarify this behavior is intended to be short-lived.
2025-01-29 21:37:39 -08:00
Anthony Bullard
eb9d1bcf09
Format apply funcs with try suffix correctly
2025-01-28 21:00:30 -06:00
Anton-4
05a5eaf124
update mono
2025-01-28 18:16:00 +01:00
J Teeuwissen
4579d61eb4
Fixed drop specialization for join point bodies
2025-01-28 17:26:24 +01:00
snobee
4f7729c044
Merge remote-tracking branch 'upstream' into annotate-type-signatures
2025-01-27 14:21:24 -08:00
snobee
46736ccaea
Handle errors in generated type annotations
2025-01-27 13:50:53 -08:00
Sam Mohr
631e59ce06
Upgrade hosted header in the style module header
2025-01-26 15:07:57 -08:00
Richard Feldman
3e4a3027e6
Have Str examples not use static dispatch (yet!)
...
This syntax doesn't exist yet, but we can revert this once it does! 😄
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:51:03 -05:00
Richard Feldman
aea54808e5
Clarify some Str docs
...
More minor tweaks to make the examples a bit more obvious.
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:45:41 -05:00
Richard Feldman
e7d80358f4
More Str
docs improvements
...
Noticed a couple more!
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:43:51 -05:00
Richard Feldman
f361117ea5
Tweak some Str
documentation
...
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2025-01-25 14:39:40 -05:00
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