Commit graph

10297 commits

Author SHA1 Message Date
Luke Boswell
d826ac4a40
remove static-site-gen from cli_run tests 2024-05-22 13:15:42 +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
Joshua Warner
d667e3c2d8
Simplify task await bang parsing to no longer require suffixed_found 2024-05-08 20:48:33 -07:00
Agus Zubiaga
bb0ada0956
Add description to render_language_server doc 2024-05-08 09:32:06 -03:00
Agus Zubiaga
fb24111190
Narrow language server reports for load 2024-05-08 09:28:44 -03:00
Agus Zubiaga
accba0b75a
Narrow headers for language server reports 2024-05-08 09:24:56 -03:00
Anton-4
16f3969fc3
minor style improvements 2024-05-08 14:06:14 +02:00
Ayaz
010aed88f9
Merge pull request #6732 from roc-lang/import-parse-reporting
Friendly reporting of import syntax errors
2024-05-07 21:29:58 -05:00
Ayaz
cc1bc68eb4
Merge pull request #6717 from roc-lang/optional-ingested-ann
Optional annotation in ingested file imports
2024-05-07 21:18:12 -05:00
Agus Zubiaga
2a8ecbba28
Do not drop import parse errors 2024-05-07 22:39:43 -03:00
Agus Zubiaga
9a66abf95f
Report ingested file colon syntax error 2024-05-06 23:46:38 -03:00
Agus Zubiaga
27a9f6051e
Report ingested file name syntax error 2024-05-06 23:46:06 -03:00
Agus Zubiaga
755e16cb10
Report exposing list end error in imports 2024-05-06 23:38:12 -03:00
Agus Zubiaga
dc18597a0e
Report unfinished exposing in imports 2024-05-06 23:24:56 -03:00
Agus Zubiaga
f81985533c
Report import lowercase alias 2024-05-06 23:16:18 -03:00
Agus Zubiaga
97ed8fdbbd
Report unfinished import as 2024-05-06 23:03:40 -03:00
Agus Zubiaga
bfb77b78cb
Report import ending syntax error 2024-05-06 22:22:00 -03:00