Commit graph

9207 commits

Author SHA1 Message Date
Brendan Hansknecht
cf5cd84d60
fix alignment of 16 bytes 2024-08-21 09:04:07 -07:00
Sam Mohr
12df3a04de
Merge attempt 2024-08-19 23:34:05 -07:00
Sam Mohr
7c7485bb04
Merge pull request #7005 from smores56/deprecate-backpassing
Deprecate backpassing to prepare for eventual removal
2024-08-18 08:08:29 -04:00
Agus Zubiaga
50efed6612
Add dynamic param test 2024-08-17 16:35:48 -03:00
Agus Zubiaga
0adad85634
Move lower_params/lib to lower_params/lower 2024-08-17 16:23:17 -03:00
Agus Zubiaga
50887e6265
Capture params in nested defs 2024-08-17 16:13:44 -03:00
Agus Zubiaga
c85c634387
Visit all declarations while lowering params 2024-08-17 15:23:28 -03:00
Agus Zubiaga
6588a32195
Visit the whole Expr tree while lowering params 2024-08-17 15:10:54 -03:00
Joshua Warner
6b6968632f
Merge branch 'main' into format-invisible-chars 2024-08-17 10:22:40 -07:00
Agus Zubiaga
bcd8e7e28a
Lower top-level fn calls in home module with params 2024-08-17 13:44:19 -03:00
Agus Zubiaga
07ec24502e
Lower top-level value references in home module with params 2024-08-17 13:25:17 -03:00
Agus Zubiaga
519ff56a85
Create can::module::ModuleParams for convenience 2024-08-17 13:10:37 -03:00
Aidan
ade416dbb4
add test for blank chars in multiline string 2024-08-17 10:28:15 -04:00
Aidan
de6a31263a
DRY up my new normalize code 2024-08-17 10:23:22 -04:00
Agus Zubiaga
e80e3e5b2d
Convert top-level value def to fn taking params 2024-08-17 11:21:21 -03:00
Aidan
aef9d81eaa
simplify StrLiteral::Line to StrLiteral::PlainLine in block strings as well 2024-08-17 10:06:50 -04:00
Aidan
1551d8fb0d
preserve multiline string trailing whitespace 2024-08-17 09:57:59 -04:00
Luke Boswell
5f67ffe21a
update mono snapshots 2024-08-17 17:23:03 +10:00
Luke Boswell
4be6c5d4ce
implement Str.dropPrefix and Str.dropSuffix 2024-08-17 17:21:37 +10:00
Sam Mohr
7c90a3a900
Remove vestigial backpassing test 2024-08-16 23:51:07 -07:00
Sam Mohr
f9008c3af0
Fix broken CLI tests 2024-08-16 23:37:31 -07:00
Sam Mohr
d66f581eeb
Merge pull request #7002 from smores56/record-update-shorthand
Implement `&foo` record updater syntax sugar
2024-08-17 02:15:03 -04:00
Sam Mohr
50f6e11423
Deprecate backpassing to prepare for eventual removal 2024-08-16 22:36:04 -07:00
Aidan
7be537dd55
format invisible characters in strings to unicode escapes 2024-08-17 01:16:58 -04:00
Aidan
b0be698354
simplify StrLiteral::Line to StrLiteral::PlainLine when possible 2024-08-17 01:16:51 -04:00
Agus Zubiaga
1dd7e0b41f
Test passing function through module params 2024-08-17 01:15:26 -03:00
Agus Zubiaga
97ddae7e3d
Lower params when calling imported functions 2024-08-17 01:03:34 -03:00
Agus Zubiaga
7a8b9f7d6d
Add variable to ParamsVar 2024-08-16 20:54:16 -03:00
Sam Mohr
7edb5a8e3b
Remove unused backtrace dependency 2024-08-16 10:31:56 -07:00
Sam Mohr
e169529ede
Remove barely used zstd dependency 2024-08-16 10:10:29 -07:00
Sam Mohr
209d78f72c
Minor formatting fix 2024-08-16 01:52:56 -07:00
Sam Mohr
b1a972ab21
Implement &foo record updater syntax sugar 2024-08-16 01:41:59 -07:00
Sam Mohr
a14a110293
Merge pull request #7000 from smores56/try-suffix-ast-node
Combine ! and ? into single TrySuffix AST node
2024-08-15 09:31:59 -07:00
Sam Mohr
fdacdbe5ef
Re-ignore false interpreter test on Windows 2024-08-15 07:55:02 -07:00
Sam Mohr
fc5a53a08a
Enable false-interpreter test 2024-08-14 23:26:42 -07:00
Sam Mohr
0733863a81
Prefer false-interpreter for ? desugaring example 2024-08-14 23:23:45 -07:00
Sam Mohr
0fd0cc11aa
Format code 2024-08-14 22:26:32 -07:00
Sam Mohr
4870f56a18
Update args.roc test to use ? sugar 2024-08-14 22:21:53 -07:00
Sam Mohr
3bc5c1dc12
Combine ! and ? into single TrySuffix AST node 2024-08-14 22:14:08 -07:00
Luke Boswell
172b30ff54
Merge pull request #6998 from roc-lang/macos-codesign
use macos codesign
2024-08-15 07:32:30 +10:00
Anton-4
47978c8a20
use macos codesign
Anaconda also has a codesign and we want to use the macos one, see https://github.com/pyinstaller/pyinstaller/issues/8581#issuecomment-2147311833

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-14 17:01:17 +02:00
Luke Boswell
2eb3e38b7f
Merge remote-tracking branch 'remote/main' into result-map-builtins 2024-08-14 17:26:10 +10:00
Luke Boswell
6bae15c467
resolve review comments 2024-08-14 17:24:12 +10:00
Luke Boswell
45f18bd64e
update mono snapshots 2024-08-14 13:17:52 +10:00
Luke Boswell
7aebee8c94
implement Result.mapBoth and Result.map2 builtins 2024-08-14 13:16:24 +10:00
Luke Boswell
a5ae2608ea
fix incorrect name from merge 2024-08-14 09:13:57 +10:00
Luke Boswell
5c43bd2cee
Merge remote-tracking branch 'remote/main' into rebuild-platform 2024-08-14 09:12:12 +10:00
Luke Boswell
2dee5aea94
Merge pull request #6982 from joshuawarner32/normalize-str
Normalize string encoding as part of RemoveSpaces
2024-08-14 08:58:40 +10:00
Luke Boswell
dbe4a72cbd
Merge pull request #6978 from roc-lang/glue-check-toggle
allow glue check toggle
2024-08-14 08:58:08 +10:00
Sam Mohr
7c15c16ae0 Fix failing test_reporting tests 2024-08-13 01:35:00 -07:00