Commit graph

8394 commits

Author SHA1 Message Date
Anton-4
f10f18980d
Merge pull request #6770 from roc-lang/move-basic-cli-tests
Move basic cli tests from examples
2024-05-22 16:13:40 +02:00
Anton-4
544a538604
Merge pull request #6761 from roc-lang/fix-bundle-ingest-files
Fix importing ingested file when bundling packages
2024-05-22 15:11:40 +02:00
Anton-4
00316433d1
remove dbg
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-22 14:20:47 +02:00
Luke Boswell
7962ee1e63
remove linux only breakout tests 2024-05-22 14:06:17 +10:00
Luke Boswell
b775c0e509
move parser cli tests 2024-05-22 13:44:37 +10:00
Luke Boswell
28b6dc11be
move hello world 2024-05-22 13:37:06 +10:00
Luke Boswell
64dba6332d
move argsBROKEN.roc test 2024-05-22 13:35:43 +10:00
Luke Boswell
7cbee42c2c
move ingested-file-bytes.roc test 2024-05-22 13:34:41 +10:00
Luke Boswell
b3f8c4dfd9
move ingested-file-bytes-no-ann.roc test 2024-05-22 13:32:49 +10:00
Luke Boswell
e9c50de4b4
move http-get test 2024-05-22 13:30:47 +10:00
Luke Boswell
3d4bd68580
move file test 2024-05-22 13:29:46 +10:00
Luke Boswell
bb6fb26525
move form test 2024-05-22 13:28:44 +10:00
Luke Boswell
7cff0575b9
move env test 2024-05-22 13:25:54 +10:00
Luke Boswell
eb3ff714cd
move echo test 2024-05-22 13:24:09 +10:00
Luke Boswell
0b9c2b4f42
move countdown test 2024-05-22 13:22:58 +10:00
Luke Boswell
6d90a4c3c1
move ingested-file test 2024-05-22 13:21:15 +10:00
Luke Boswell
33075285b7
Merge pull request #6767 from wontem/comments-in-repl
Ignore comments in repl
2024-05-22 11:26:10 +10:00
Kiryl Dziamura
8d574a93a3
better message for bad ident name in repl 2024-05-22 01:00:31 +02:00
Kiryl Dziamura
fb108af73e
ignore comments in repl 2024-05-22 00:51:38 +02:00
Luke Boswell
3a2b27dcdb
default to host libhost for prebuilt platform binary if target specific not found 2024-05-20 19:41:02 +10:00
Luke Boswell
b8362b1c5e
fix importing ingested file 2024-05-20 13:28:18 +10:00
Richard Feldman
7e1a82f048
Merge pull request #6757 from roc-lang/ingested-files-bundle
Include ingested files in package tarballs
2024-05-17 21:14:20 -04:00
Agus Zubiaga
b3065079ae
cli/tarball read_header return parse_header result directly 2024-05-18 02:28:20 +02:00
Agus Zubiaga
8f0a4da04e
cli/tarball add_ingested_files unwrap_or_else 2024-05-18 02:27:00 +02:00
Agus Zubiaga
70d005fde5
cli/tarball read_header return tuple directly 2024-05-18 02:25:05 +02:00
Agus Zubiaga
46da864fea
Handle ingested file prefix error 2024-05-18 02:16:02 +02:00
Agus Zubiaga
504107f90e
Include ingested files in package tarballs
If a package has an ingested file import, we will now add the file
to the tarball.
2024-05-18 02:07:58 +02:00
Richard Feldman
78d77e2f59
Revise wildcard and type var error message 2024-05-13 09:55:35 -04:00
Richard Feldman
18230a7a18
Make some reporting tests more editor-friendly
Previously editors would trim the trailing whitespace on save,
breaking the tests.
2024-05-13 08:22:35 -04:00
Richard Feldman
8357bd8c91
Revise errors for undeclared type vars in aliases 2024-05-12 21:20:11 -04:00
Ayaz
e5ea6dc461
Merge pull request #6708 from roc-lang/module-params-syntax
Parse and format module params
2024-05-12 13:51:13 -05:00
Anton-4
975162b53b
improve error message 2024-05-10 17:18:23 +02:00
Anton-4
e735223c9a
Merge pull request #6728 from GovCraft/main
close #6723: Update format_files to list all files
2024-05-10 16:26:20 +02:00
Anton-4
b5a9dc3ec2
Merge branch 'main' into main 2024-05-10 14:29:09 +02:00
Anton-4
1bc5fd56af
Merge branch 'main' into ls-fmt-upgrade 2024-05-10 14:28:17 +02:00
Anton-4
3c189f4e36
Merge pull request #6734 from roc-lang/narrow-lsp-report
Narrower reports from language server
2024-05-10 14:17:56 +02:00
Agus Zubiaga
5ccd15faec
Upgrade header imports when formatting through lang server 2024-05-09 08:17:28 -03:00
Agus Zubiaga
058079e5cd
Update spaces in import_with_params result ast 2024-05-09 08:02:29 -03:00
Agus Zubiaga
2e4306279c
Handle record update found in module params 2024-05-09 08:01:46 -03:00
Agus Zubiaga
f3b71c46e7
Handle record apply found in module params 2024-05-09 07:55:39 -03:00
Agus Zubiaga
b8280bf69a
Handle import params indent error in reporting 2024-05-09 07:49:21 -03:00
Agus Zubiaga
9be3358355
Module params record parse problem test 2024-05-09 07:45:33 -03:00
Agus Zubiaga
25d3cae08f
Use Loc::at instead of map(|_| x) 2024-05-09 07:42:10 -03:00
Agus Zubiaga
c0bb46517c
Desugar params in imports 2024-05-09 07:42:10 -03:00
Agus Zubiaga
b36f88fd13
Format module params in imports 2024-05-09 07:42:10 -03:00
Agus Zubiaga
e5a09b5de6
Parse module params in import 2024-05-09 07:42:07 -03:00
Agus Zubiaga
08825a9e90
Add module with optional param syntax test 2024-05-09 07:27:58 -03:00
Agus Zubiaga
370013b960
Format module header with params 2024-05-09 07:27:58 -03:00
Agus Zubiaga
760ffaf68f
Report module params parse error 2024-05-09 07:27:58 -03:00
Agus Zubiaga
5b1a3c8f03
Parse params in module header
module {echo, read} -> [menu]

Formatter isn't implemented yet.
2024-05-09 07:27:43 -03:00