Richard Feldman
00950d2a0e
Update insta snapshots
2024-04-26 06:59:01 -04:00
Richard Feldman
6571c18a35
Update tests
2024-04-25 23:10:45 -04:00
Luke Boswell
c5cba98381
Merge remote-tracking branch 'remote/main' into suffixed-bang
2024-04-16 06:42:31 +10:00
Luke Boswell
f9771a9983
split test_utils
2024-04-15 20:30:34 +10:00
Luke Boswell
93ef5e42dc
fix tests, make clippy happy
2024-04-14 13:45:07 +10:00
Richard Feldman
ec64da3416
Merge pull request #6627 from roc-lang/default-value-record
...
Change docs/errors from "optional" to "default value" record fields
2024-04-04 22:25:45 -04:00
Brendan Hansknecht
482c084096
Change docs/errors from "optional" to "default value" record fields
...
I strongly believe that seeing the word "optional" is priming people wrong when it comes to this feature.
Especially given roc dose not have an `Optional/Option/Maybe` type, so users look for an alternative and find this.
This PR changes the name to "default value record fields".
It updates all docs and errors.
It does not update compiler internal naming.
That can be updated in a follow up PR if we want to, but I am also fine leaving it cause it is not exposed to users.
2024-04-03 08:55:35 -07:00
Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
...
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Luke Boswell
e74501981e
fmt and clippy fixes
2024-03-20 12:31:04 +11:00
Luke Boswell
3b2e9e36b8
rename operator.rs to desugar.rs
2024-03-17 15:57:27 +11:00
Richard Feldman
ffd72b184b
Fix tests
2024-02-27 11:35:06 -05:00
Richard Feldman
6f84e24fa5
Merge remote-tracking branch 'origin/main' into more-dollars
2024-02-26 23:06:23 -05:00
JRI98
acbbdd0f7b
Improve handling of multi pattern unbound variables
2024-02-23 15:22:23 +00:00
Anton-4
b5f68bc020
Merge pull request #6525 from roc-lang/fix_text_contrast
...
less colors and more contrast in terminal
2024-02-20 15:46:13 +01:00
Anton-4
f66711d53e
re-use strip_colors
2024-02-16 16:32:46 +01:00
Anton-4
719e32e0f0
clippy
2024-02-14 18:18:16 +01:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat
2024-02-11 12:26:36 -05:00
Anton-4
3c7a834da1
update to new interpolation syntax
2024-02-02 13:39:10 +01:00
Richard Feldman
d84de324d8
Update insta tests
2024-01-28 14:57:39 -05:00
Richard Feldman
bf660ad094
Remove Nat from tests
2024-01-26 16:19:52 -05:00
Richard Feldman
502b0fddf2
Remove Nat from Hash, Inspect, Encode, Decode
2024-01-26 16:17:05 -05:00
Luke Boswell
b1ffa5c99b
use subs caching on windows
2024-01-21 22:00:17 +11:00
William Barbosa
3882262b70
Fix remaining test cases
2024-01-18 08:15:02 +01:00
Richard Feldman
7189104df8
Update roc code base to use $(...) syntax
2024-01-06 18:03:00 -05:00
Anton-4
1126f85b5a
fix clippy unnecessary hashes
2024-01-01 16:38:36 +01:00
Brendan Hansknecht
3966d63e2f
add src and location to dbg
2023-12-02 21:18:31 -08:00
Brendan Hansknecht
82cda1965c
use INSPECT_INSPECT_ABILITY instead of INSPECT_INSPECT
2023-11-28 16:40:41 -08:00
Anton-4
73597778b9
minor wording change
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-28 11:41:54 +01:00
caryoscelus
2fc8e88cca
Report lacking platform name in app header
2023-11-28 05:52:43 +00:00
caryoscelus
3332503f1d
Test reporting lack of to
in app header
2023-11-28 02:18:50 +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
Brendan Hansknecht
2de96ed5a8
add spread as test
2023-11-20 21:09:12 -08:00
Brendan Hansknecht
9cf0d5366f
add test case for exhaustiveness checking of list with rest and front and back
2023-11-20 21:09:12 -08:00
jecaro
2ffe2fd2dd
fix golden tests accordingly
2023-11-17 10:51:27 +01:00
Richard Feldman
896c010645
Move test_reporting into load to break cyclic dep
2023-11-10 16:16:54 -05:00
Ayaz Hafiz
886a367026
Go-to-definition basic support
2023-10-25 17:14:50 -05:00
Richard Feldman
eb135637ef
Compute total_problems rather than asking for it
2023-10-14 21:49:06 -04:00
Folkert
a0d291b1a7
force the alignment of include_bytes! for Subs
2023-09-01 20:01:16 +02:00
Richard Feldman
700776fad7
Make Inspect a builtin
2023-08-10 21:47:42 -04:00
Ayaz Hafiz
44c4797d9a
Parameterize program solving on a FunctionKind
...
This new flag determines whether we should introduce a new kind to
represent lambda sets, or whether lambdas should be erased. The latter
is not yet implemented.
2023-07-12 13:53:50 -05:00
Richard Feldman
40f2dd7030
Extract some modules out of file.rs
2023-06-28 22:35:59 -04:00
Luke Boswell
c1ff49be6c
change just Json module name
2023-06-04 17:37:01 +10:00
Jarl André Hübenthal
e5eb5717ea
replace panic! with internal_error! in compiler modules
2023-05-03 22:11:21 +02:00
Folkert
fe15a2e79c
Merge remote-tracking branch 'origin/main' into glue-getters-rtfeldman
2023-03-08 19:46:00 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit
2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded
2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec
2023-03-06 16:36:18 -08:00
Folkert
454f3c603e
give the new exposed symbols to the surgical linker
2023-02-25 19:35:46 +01:00