Commit Graph

28324 Commits

Author SHA1 Message Date
Anton-4
c1d0c24194
fix expected type
Rust's u128 and Roc's U128 have different alignment. They can not be used interchangebly, that leads to segmentation faults. See also https://roc.zulipchat.com/#narrow/stream/395097-compiler-development/topic/str_to_u128.20segfault/near/434410692
2024-04-20 19:57:47 +02:00
Anton-4
99ca3f545f
clippy 2024-04-16 20:02:08 +02:00
Anton-4
1a5e065055
Merge branch 'main' into rust-1-76-0-upgrade 2024-04-16 13:33:27 +02:00
Richard Feldman
c74685f74a
Merge pull request #6634 from roc-lang/suffixed-bang
De-sugar bang `!` operator
2024-04-15 20:38:55 -04:00
Luke Boswell
c5cba98381
Merge remote-tracking branch 'remote/main' into suffixed-bang 2024-04-16 06:42:31 +10:00
Anton-4
5c45cc9c3e
fmt 2024-04-15 19:38:04 +02:00
Anton-4
dc96e194bd
clippy 2024-04-15 19:36:52 +02:00
Anton-4
a7b843743d
upgrade to rust 1.76.0 2024-04-15 19:20:07 +02:00
Anton-4
8502a37b3c
fmt 2024-04-15 16:51:07 +02:00
Anton-4
e4b814ce1c
clippy 2024-04-15 16:50:44 +02:00
Anton-4
4d9202ec6e
upgrade to rust 1.75.0 2024-04-15 16:29:23 +02:00
Anton-4
0563a05d21
Merge pull request #6394 from roc-lang/dependabot/cargo/tracing-0.1.40
Bump tracing from 0.1.39 to 0.1.40
2024-04-15 14:53:04 +02:00
Anton-4
9a8d8ed243
Merge branch 'main' into dependabot/cargo/tracing-0.1.40 2024-04-15 14:05:47 +02:00
Anton-4
a0cf09f980
Merge pull request #6643 from roc-lang/split_utils
Split `test_utils`
2024-04-15 13:25:54 +02:00
Luke Boswell
f9771a9983
split test_utils 2024-04-15 20:30:34 +10:00
Anton-4
972b254ebd
Merge pull request #6587 from faldor20/optional-decoding-works
Decoding of records with missing fields.
2024-04-15 09:55:21 +02:00
Luke Boswell
7c94e4db04
cargo fmt 2024-04-15 14:38:20 +10:00
Luke Boswell
3cd1f13009
update test_syntax snapshot 2024-04-15 14:30:18 +10:00
Luke Boswell
ee42dfc317
add support for if-then-else 2024-04-15 14:20:49 +10:00
Luke Boswell
2a222f3a51
optimise by not unwrapping sometimes 2024-04-15 10:02:03 +10:00
Luke Boswell
7886d30b8e
parse/unwrap nested defs 2024-04-15 09:25:00 +10:00
Anton-4
bacfd10c65
back to normal CI 2024-04-14 16:32:06 +02:00
Luke Boswell
129ca94733
remove unit type from EmptyDefsFinal 2024-04-14 13:45:07 +10:00
Luke Boswell
93ef5e42dc
fix tests, make clippy happy 2024-04-14 13:45:07 +10:00
Luke Boswell
f9fb59f0c2
cleanup and refactor suffixed tests 2024-04-14 13:45:07 +10:00
Luke Boswell
0143035dc0
cleanup, improve docs 2024-04-14 13:45:06 +10:00
Luke Boswell
c32fa5b600
support optional suffied last def 2024-04-14 13:45:06 +10:00
Luke Boswell
4625926486
suffixed tests passing 2024-04-14 13:45:06 +10:00
Luke Boswell
b13adf6898
more flexible statement parsing 2024-04-14 13:45:06 +10:00
Luke Boswell
68c00a1493
fix replace_value_def 2024-04-14 13:45:06 +10:00
Luke Boswell
bd264eb5c3
add new tests 2024-04-14 13:45:06 +10:00
Luke Boswell
5bb44fcce5
most tests passing 2024-04-14 13:45:05 +10:00
Luke Boswell
ed2b9e9703
fix split_defs and replace_def 2024-04-14 13:45:05 +10:00
Luke Boswell
f1d568b848
WIP try simplification 2024-04-14 13:45:05 +10:00
Luke Boswell
8b9e08bd76
WIP try simplification 2024-04-14 13:45:05 +10:00
Luke Boswell
85b76a14b4
cleanup, add some docs 2024-04-14 13:45:05 +10:00
Luke Boswell
0578db8685
move suffixed things into separate file 2024-04-14 13:45:05 +10:00
Luke Boswell
4fa58b60d8
remove excessive hashes in multilin string literal 2024-04-14 13:45:04 +10:00
Luke Boswell
c5ff88e94a
fix for ValueDefs with annotation, test for closures 2024-04-14 13:45:04 +10:00
Luke Boswell
79fc499c31
support multiple defs and statements 2024-04-14 13:45:04 +10:00
Luke Boswell
81aa6a0356
fix test failure 2024-04-14 13:45:04 +10:00
Luke Boswell
78797da661
cargo fmt 2024-04-14 13:45:04 +10:00
Luke Boswell
6f607aba11
WIP support nested suffixes 2024-04-14 13:45:03 +10:00
Luke Boswell
0d7b483c6e
WIP support nested suffixes 2024-04-14 13:45:03 +10:00
Luke Boswell
310b4d1b5a
WIP support nested suffixes 2024-04-14 13:45:03 +10:00
Luke Boswell
5a91a4f78a
WIP support nested suffixes 2024-04-14 13:45:03 +10:00
Luke Boswell
2200916c2b
WIP unwrapping suffixed expression 2024-04-14 13:45:03 +10:00
Luke Boswell
467cdf8226
changes 2024-04-14 13:45:03 +10:00
Luke Boswell
0d2afe4111
use # in ident 2024-04-14 13:45:02 +10:00
Luke Boswell
e4c5ba064b
clippy 2024-04-14 13:45:02 +10:00