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
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
Roland Rodriguez
fae1e4b51e
fix: ensure tests explicitly cleanup temp files
2024-05-06 19:20:43 -06:00
Agus Zubiaga
8418610dd9
Require newline after import
2024-05-06 22:15:52 -03:00
Agus Zubiaga
007e03891e
Report module name / path syntax error in imports
2024-05-06 21:00:17 -03:00
Agus Zubiaga
233310cabf
Report space problem in import
2024-05-06 20:26:07 -03:00
Roland Rodriguez
89f8798a37
close #6723 : Update format_files to list all files
...
Changed the behavior of the format_files function in the Roc formatter to accumulate and list all files that require reformatting instead of stopping at the first file. This update improves the user experience by providing a comprehensive report of all files that need attention after a format check, allowing for more efficient batch updating of files to conform to formatting standards.
2024-05-06 09:54:39 -06:00
Agus Zubiaga
520dc389f3
Report ingested file annotation syntax error
2024-05-05 17:45:37 -03:00
Agus Zubiaga
56f12718f1
Only annotation spaces should be backtrackable
2024-05-05 17:39:49 -03:00
Agus Zubiaga
4b8b36529d
Remove unnecessary & ref
2024-05-05 17:08:34 -03:00
Agus Zubiaga
3c52edd0a0
Add ingested file no ann test
2024-05-05 17:00:05 -03:00
Agus Zubiaga
8a25e4aac4
Handle optional annotation in ingested files when canonicalizing
2024-05-05 16:57:56 -03:00
Agus Zubiaga
22716cea45
Format ingested file with optional annotation
2024-05-05 16:56:49 -03:00
Agus Zubiaga
fe2eb0f0a5
Parse optional ingested file annotation
2024-05-05 16:55:36 -03:00
Luke Boswell
ddccf8ff59
update glue platform files to new syntax
2024-05-05 16:46:34 +02:00