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
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
Luke Boswell
9a7b62ac22
handle dbg when unwrapping suffixed !
2024-05-04 21:37:47 +02:00
Anton-4
7fbd7e2ad1
Merge pull request #6703 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/ejs-3.1.10
...
Bump ejs from 3.1.9 to 3.1.10 in /crates/compiler/checkmate/www
2024-05-04 18:09:01 +02:00
Richard Feldman
600b0486de
Merge pull request #6711 from andyferris/floating-point-special-values
...
Floating point special values
2024-05-04 12:01:16 -04:00
Anton-4
388d43fc34
Merge branch 'main' into fix_6606
2024-05-04 16:26:40 +02:00
Folkert
241d2b565a
update mono tests
2024-05-04 15:59:59 +02:00
Andy Ferris
e636853bc8
Run cargo fmt
2024-05-04 12:39:34 +10:00
Andy Ferris
c74cc19220
Fix unit test with lambda
2024-05-04 11:42:04 +10:00
Andy Ferris
03e9344a83
Add new constants to symbol table, attempt to add tests
2024-05-03 19:50:12 +10:00
Andy Ferris
a0c4bb571f
Add NaN and Infinity floating-point values to Num
2024-05-03 19:19:19 +10:00
Anton-4
f7011c8e33
Merge pull request #6644 from roc-lang/rust-1-76-0-upgrade
...
Rust 1.76.0 upgrade
2024-05-03 07:25:19 +02:00
dependabot[bot]
2d16d5c7d2
Bump ejs from 3.1.9 to 3.1.10 in /crates/compiler/checkmate/www
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases )
- [Commits](https://github.com/mde/ejs/compare/v3.1.9...v3.1.10 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 12:07:30 +00:00
Richard Feldman
b53017a733
Merge pull request #6683 from roc-lang/new-module-headers
...
New `app`, `module`, and `package` headers
2024-05-01 16:06:26 -04:00
Brendan Hansknecht
dc539f759d
Improve OptSize
implementation in Roc
...
1. Use the llvm `Oz` pipeline.
2. Avoid adding extra optimization passes.
This shrunk rocci-bird by ~16%.
2024-05-01 08:25:34 -07:00
Agus Zubiaga
e3b600c282
New package
header syntax
...
Implements the new package header syntax as discussed in Zulip [1].
package [Csv] {
parser: "../parser/main.roc"
}
Old headers still parse and are automatically upgraded to the new
syntax by the formatter.
[1] 418444862
2024-05-01 10:49:03 -03:00
Agus Zubiaga
8dedd9f03c
New app
header syntax
...
Implements the new app header syntax as discussed in Zulip [1].
app [main] {
cli: platform "../platform/main.roc",
json: "../json/main.roc"
}
Old headers still parse and are automatically upgraded to the new
syntax by the formatter.
[1] 418444862
2024-05-01 10:49:01 -03:00
Agus Zubiaga
057a18573a
New module
header
...
Implements the new `module` header syntax as described in "module and package changes" [1]:
```
module [Request, Response, req]
```
The old syntax should still work fine, and is automatically upgraded to the new one
when running `roc format`.
[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
2024-05-01 10:39:12 -03:00
Agus Zubiaga
eb8ef6241e
Merge branch 'main' into inline-imports
2024-05-01 10:25:17 -03:00