Commit graph

860 commits

Author SHA1 Message Date
Sam Mohr
00bc699642
Add syntax tests for record builder 2024-08-06 22:49:35 -07:00
Sam Mohr
cb8040f629
Ignore underscore-prefixed fields in record builders 2024-08-06 22:49:35 -07:00
Sam Mohr
66cf946965 Fix PR comments 2024-08-03 04:37:31 -07:00
Sam Mohr
8288af3156
Merge branch 'main' into builtin-task 2024-07-31 13:36:32 -07:00
Aidan
4bf5154610 remove spaces_middle from crates/compiler/can/src/desugar.rs 2024-07-29 13:11:57 -04:00
Aidan
ddb58a2cd5 spaces_middle -> lines_between 2024-07-29 13:06:48 -04:00
Aidan
91fdd903e7 comment -> spaces_middle 2024-07-29 10:04:32 -04:00
Aidan
125990855f Merge branch 'main' into store-all-space-between-annotation-body 2024-07-29 09:46:05 -04:00
Luke Boswell
eca453d07f
Merge remote-tracking branch 'remote/main' into builtin-task 2024-07-29 16:05:51 +10:00
Aidan
62dbe9fb53 update snapshots 2024-07-27 17:19:02 -04:00
Joshua Warner
4f32f43048
Implement block / indent based parsing
... and enforce that defs can only occur in blocks (or, inside parenthesized expressions)
2024-07-27 13:34:16 -07:00
Aidan
05f4062c69 clippy 2024-07-27 12:25:24 -04:00
Aidan
3c78b4fb86 functional changes 2024-07-27 12:16:04 -04:00
Kiryl Dziamura
7aa31a1639
code cleanup 2024-07-23 23:16:50 +02:00
Kiryl Dziamura
692f8e8090
remove redundant dependency 2024-07-23 23:16:50 +02:00
Kiryl Dziamura
863fb3b29f
remove obsolete test 2024-07-23 23:16:50 +02:00
Kiryl Dziamura
1f65d95e09
update suffixed tests snapshots 2024-07-23 23:16:49 +02:00
Kiryl Dziamura
10bdabf52e
better desugared idents 2024-07-23 23:16:49 +02:00
Kiryl Dziamura
9a37aeb82f
fix types propagation 2024-07-23 23:16:49 +02:00
Kiryl Dziamura
4d5586b68a
simplify identity unwrap 2024-07-23 23:16:49 +02:00
Kiryl Dziamura
a7ca02dd61
unwrap identity call 2024-07-23 23:16:48 +02:00
Kiryl Dziamura
3e17168098
print formatted desugared code instead of ast 2024-07-23 23:16:48 +02:00
Kiryl Dziamura
56eae5df95
propagate type annotations to desugared ast 2024-07-23 23:16:47 +02:00
Luke Boswell
b489c44b19
Merge remote-tracking branch 'remote/main' into builtin-task 2024-07-19 19:51:50 +10:00
Kiryl Dziamura
1c01a8f0d3
remove measleading fmt code from snapshots 2024-07-14 09:52:01 +02:00
Brendan Hansknecht
0284248320
Merge pull request #6894 from roc-lang/list-size-on-heap
List refcounting perf fix: List size on heap
2024-07-13 19:30:56 -07:00
Kiryl Dziamura
f3e91a104b
remove redundant dependency 2024-07-13 20:46:23 +02:00
Kiryl Dziamura
8b95816797
generate snapshots 2024-07-13 20:46:23 +02:00
Kiryl Dziamura
8949fc710b
use snapshots for suffixed tests 2024-07-13 20:46:22 +02:00
Brendan Hansknecht
c734a27b59
move List.map* into roc 2024-07-13 10:39:56 -07:00
Brendan Hansknecht
e92cf1be42
Revert "attempt to correct list refcount generation in dev backends"
This reverts commit 0854a1a53a2db441c648140bdd24de91125ec645.
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
36bc8bfac4
attempt to correct list refcount generation in dev backends 2024-07-13 10:39:54 -07:00
Brendan Hansknecht
48eb9c31a9
update list generated refcounting functions for dev and wasm 2024-07-13 10:39:53 -07:00
Anton-4
0d9db5bf2d
Merge pull request #6881 from roc-lang/empty-open-union
fix openness inference for empty tag
2024-07-09 16:46:54 +02:00
Anton-4
4341c37b99
cleanup 2024-07-09 13:55:39 +02:00
Sam Mohr
b9a17f4a49
Merge pull request #6883 from smores56/new-builder-syntax
Implement new builder syntax alongside old one
2024-07-08 11:19:01 -07:00
Anton-4
0502734293
fmt 2024-07-08 14:14:36 +02:00
Anton-4
6b2d2e3406
minor improvements 2024-07-08 14:11:22 +02:00
Kiryl Dziamura
3f22c55dda
fix suffixed tests 2024-07-08 11:39:04 +02:00
Kiryl Dziamura
8163de02f3
refactor unique ident generator 2024-07-08 09:44:36 +02:00
Kiryl Dziamura
e0af069645
don't unwrap empty destructuring pattern 2024-07-08 09:44:35 +02:00
Sam Mohr
fe1b6d71fc
Update from PR comments 2024-07-07 18:33:20 -07:00
Sam Mohr
f415017c90
Implement new builder syntax alongside old one 2024-07-07 03:28:59 -07:00
Agus Zubiaga
0cbb352a89
Move unexpected params warning to solve 2024-07-06 21:36:26 -03:00
Agus Zubiaga
63e722f61d
Rename symbol and module lookup struts 2024-07-06 11:42:53 -03:00
Anton-4
7180a93273
fix openness inference for empty tag 2024-07-06 16:29:10 +02:00
Anton-4
1bcf30391b
Merge pull request #6819 from roc-lang/rust-1-77-2-upgrade
Rust 1.77.2 upgrade
2024-07-06 03:23:54 +02:00
Agus Zubiaga
33cbaa5cd8
Replace ScopeModules/modules VecMap with 2 Vecs 2024-07-05 22:05:33 -03:00
Agus Zubiaga
f80cb341a6
Move ScopeModules to can 2024-07-05 21:35:52 -03:00
Agus Zubiaga
d775d9ef53
Prevent top-level fns from capturing params 2024-07-04 12:25:02 -03:00