Luke Boswell
|
74e531b994
|
remove suffixed from Ident::Access and cleanup
|
2024-04-28 08:48:08 +10:00 |
|
Luke Boswell
|
20f277c132
|
update later tests
|
2024-04-28 08:47:08 +10:00 |
|
Luke Boswell
|
db4607125b
|
remove suffixed from Pattern
|
2024-04-28 08:47:08 +10:00 |
|
Luke Boswell
|
2fe03e6c91
|
remove suffixed from Expr::Var
|
2024-04-28 08:47:08 +10:00 |
|
Luke Boswell
|
1640ee1321
|
update logic for Expr::TaskAwaitBang
|
2024-04-28 08:47:08 +10:00 |
|
Joshua Warner
|
7c53cf0cd7
|
Fixup tests
|
2024-04-28 08:47:07 +10:00 |
|
Joshua Warner
|
6080c12ca8
|
Parse ! suffixes as an Expr::TaskAwaitBang instead of using suffix field in ident
|
2024-04-28 08:47:07 +10:00 |
|
Richard Feldman
|
6571c18a35
|
Update tests
|
2024-04-25 23:10:45 -04:00 |
|
Richard Feldman
|
f557a29090
|
Don't add Ok and Err as symbols to scope
|
2024-04-25 20:07:40 -04:00 |
|
Anton-4
|
8902f3e9e3
|
fix typo
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
|
2024-04-23 12:57:04 +02:00 |
|
Luke Boswell
|
84cd4233be
|
clippy fix
|
2024-04-22 18:55:34 +10:00 |
|
Luke Boswell
|
aa5dc09900
|
support for more trailing !
|
2024-04-22 18:38:51 +10:00 |
|
Luke Boswell
|
32c4083364
|
add new tests for trailing !
|
2024-04-22 18:38:26 +10:00 |
|
Richard Feldman
|
6059f7afcb
|
Merge pull request #6651 from roc-lang/fix-nesting-suffix
Fix recursion for suffixed `!` in top-level def
|
2024-04-19 14:53:34 -04:00 |
|
Luke Boswell
|
5e738a4ab5
|
fix recursion in top-level def
|
2024-04-19 10:34:33 +10:00 |
|
Luke Boswell
|
ae908f89a9
|
suffixed when branches
|
2024-04-18 12:47:11 +10:00 |
|
Luke Boswell
|
a889810dfd
|
unwrap suffixed when condition
|
2024-04-18 09:44:57 +10:00 |
|
Luke Boswell
|
0198a683c7
|
fix unwrapping of trailing expr
|
2024-04-17 09:54:29 +10:00 |
|
Luke Boswell
|
7a84dcd39c
|
don't unwrap intermediate answer if not required
|
2024-04-16 16:25:20 +10:00 |
|
Luke Boswell
|
7c94e4db04
|
cargo fmt
|
2024-04-15 14:38:20 +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 |
|
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
|
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
|
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
|
b010e8caba
|
desugar suffixed If-Then-Else expression
|
2024-04-14 13:45:02 +10:00 |
|
Luke Boswell
|
d08a51b134
|
cargo fmt
|
2024-04-14 13:45:02 +10:00 |
|
Luke Boswell
|
69a3a3c477
|
cleanup
|
2024-04-14 13:45:02 +10:00 |
|