Trevor Settles
5f6d259e5d
updated error messages
2024-02-08 15:25:15 -07:00
Trevor Settles
bb54832146
added more descriptive error messages
2024-02-05 22:27:17 -07:00
Trevor Settles
2fe506ee50
Merge branch 'main' of https://github.com/rtfeldman/roc into ensure-roc-files
2024-02-04 21:25:15 -07:00
Trevor Settles
5270e896a8
moved file ext handling
2024-02-04 21:24:36 -07:00
Anton-4
f47b2eb2eb
change wording
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-03 12:05:15 +01:00
Asher Mancinelli
da261be209
[parse] Better error message for bad packages list
...
When an appropriate list end is not found in the packages list, give a
more informative error message.
2024-01-27 11:25:19 -08:00
Richard Feldman
204cee7d60
Clean up more unused Nat stuff
2024-01-26 16:23:21 -05:00
Richard Feldman
502b0fddf2
Remove Nat from Hash, Inspect, Encode, Decode
2024-01-26 16:17:05 -05:00
Agus Zubiaga
7b3317dbb6
Update unused warnings for inline imports
...
Now that imports can be limited to smaller scopes than the entire module,
unused import warnings need to work like unused def warnings.
This commit moves unused import warnings discovery and reporting from load
to canonicalization where we can track their usage per scope.
This also fixes a longstanding bug where unused exposed names from an import
were not reported if they were only used in a qualified manner.
2024-01-20 08:43:36 -03:00
William Barbosa
ad3673bfe9
Improve filename visibility in error messages
2024-01-18 08:15:02 +01:00
Isaac Van Doren
eec6d79248
exit code 2 for warnings
2024-01-14 19:53:55 -06:00
Isaac Van Doren
3d0661db0c
Revert "add ignore-warnings flag to roc build"
...
This reverts commit 1c85b823c1
.
2024-01-14 19:51:58 -06:00
Isaac Van Doren
1c85b823c1
add ignore-warnings flag to roc build
2024-01-14 15:39:10 -06:00
Richard Feldman
8ea38d3a04
Parse deprecated interpolation syntax differently
2024-01-06 18:26:27 -05:00
Richard Feldman
7189104df8
Update roc code base to use $(...) syntax
2024-01-06 18:03:00 -05:00
Isaac Van Doren
7d3df10921
format and clippy
2024-01-04 21:18:28 -06:00
Isaac Van Doren
190c88e886
report shadowing error messages last
2024-01-03 22:20:35 -06:00
Anton-4
cd632fe549
Merge branch 'main' of github.com:roc-lang/roc into clippy-1.74
2023-12-25 17:05:37 +01:00
Richard Feldman
4b743c8878
Replace UNKNOWN.roc in reports with real filename
2023-12-13 21:20:26 -05:00
Luke Boswell
f837870a63
handle TrailingOperator error
2023-12-09 19:42:09 +11:00
Anton-4
0259b892da
fmt
2023-12-04 19:19:13 +01:00
Anton-4
0e030256d9
change wording a bit
2023-12-04 17:15:12 +01:00
zapsh
91d0de75ab
adding initial 404 handling
2023-12-03 17:07:25 -05:00
Ayaz
aaba3f4d82
Merge branch 'main' into clippy-1.74
2023-12-02 20:09:06 -06:00
Anton-4
ba1a1e9243
minor wording change
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-28 11:42:52 +01:00
caryoscelus
2fc8e88cca
Report lacking platform name in app header
2023-11-28 05:52:43 +00:00
caryoscelus
d141237a17
Report lacking to
while parsing app header
2023-11-28 02:18:24 +00:00
Richard Feldman
5e911f14d8
Merge pull request #6057 from lsculv/record-field-error-typo
...
Fix typo 'I trying' -> 'I am trying'
2023-11-22 09:12:30 -05:00
Lucas Culverhouse
3c05690997
Fix typo 'I trying' -> 'I am trying'
2023-11-21 17:33:57 -08:00
jecaro
57f55dbe7e
Fix typo
2023-11-21 19:47:27 +01:00
Folkert
c019ced31d
various
2023-11-18 23:05:55 +01:00
jecaro
c858031f74
Show the right fct name in type error messages
2023-11-16 16:44:55 +01:00
jecaro
0781232940
Set a better error msg for non uft8 encoded files
2023-11-14 15:22:22 +01:00
Ayaz Hafiz
6e89821233
Update language server to support apps
2023-10-25 17:14:33 -05:00
Ayaz Hafiz
b706a57e16
Update LSP
2023-10-25 17:14:33 -05:00
Ayaz Hafiz
9d365a8a57
Support basic diagnostic reporting
2023-10-25 17:14:32 -05:00
Richard Feldman
8232a06c86
Merge remote-tracking branch 'origin/main' into wip-website-updates
2023-10-21 08:59:48 -04:00
Richard Feldman
f0a91b8ce1
Add some debug assertions
2023-10-14 21:49:06 -04:00
Richard Feldman
eb135637ef
Compute total_problems rather than asking for it
2023-10-14 21:49:06 -04:00
Richard Feldman
55f1e82dbb
Update frriendly.md and a type error message
2023-10-06 20:29:51 +02:00
Anton-4
a564876631
Merge pull request #5795 from FabHof/BadInputError
...
Implement error messages for (parts of) BadInputError
2023-09-15 20:56:28 +02:00
Anton-4
f0795e6935
minor improvements
2023-09-15 19:51:13 +02:00
Fabian Schmalzried
3e41f6eb5a
implement error message for HasMisplacedCarriageReturn
...
Also had to filter out the escape characters
so the erroe message does not get messed up
2023-09-10 17:17:26 +02:00
Fabian Schmalzried
49a1a3b46d
Implement error message for ASCII control characters
2023-09-10 15:58:36 +02:00
Brian Carroll
8f59ee9492
Create a new crate roc_repl_ui for shared CLI/web UI code
2023-09-09 11:55:55 +01:00
Richard Feldman
7404842f49
Don't put spaces inside tuples in error messages
2023-08-13 21:49:58 -04:00
Richard Feldman
2da41be29f
Merge remote-tracking branch 'origin/main' into abilities-syntax
2023-08-10 20:36:01 -04:00
Anton-4
6eb5362383
minor error improvement
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-08-02 17:01:57 +02:00
shamsartem
dbd1100a20
Merge branch 'main' into main
2023-08-01 14:02:34 +02:00
Richard Feldman
071138dd9f
Revise nested interpolation error message
2023-07-29 21:13:05 -04:00