Commit graph

7914 commits

Author SHA1 Message Date
Anton-4
0486da933f
use println for clippy
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-03-09 16:26:52 +01:00
Hristo Georgiev
ee819cb7d1
Add newline after "Failed with error" msg 2024-03-09 12:54:08 +00:00
Anton-4
5b7b24b320
Merge pull request #6559 from normanjaeckel/FixTypefaceForColoredText
Use constant ANSI code to reset boldfaced colors in reporting
2024-03-08 18:05:19 +01:00
Richard Feldman
c217456f05
Merge pull request #6558 from jschear/js/move_cli_testing_examples
Move cli_testing_examples under crates/cli/tests
2024-03-08 09:43:59 -05:00
Brendan Hansknecht
7d51d2b000
Merge pull request #6556 from roc-lang/string-split-simplify
simplify the string splitting code (by using std.mem.split)
2024-03-07 08:41:36 -08:00
Anton-4
ce606916a3
emit-ir and style improvement 2024-03-06 17:15:34 +01:00
Jonathan Schear
ae6516d54f
Remove remaining usages of cli_testing_examples folder 2024-03-06 09:58:11 -05:00
Norman Jäckel
cfb068ec94
Use constant ANSI code to reset boldfaced colors in reporting for CHECK and TEST command. Remove unused color_reset constant. 2024-03-06 00:47:34 +01:00
Jonathan Schear
0b6cf5cbcc
Remove redundant cli_testing_examples folder 2024-03-05 18:37:03 -05:00
Jonathan Schear
813b0010b7
Move cli_testing_examples under crates/cli/tests 2024-03-05 12:21:29 -05:00
Folkert
a2d1a1ddb0
simplify the string splitting code (by using std.mem.split) 2024-03-05 16:51:30 +01:00
Anton-4
d232a843e4
Merge pull request #6543 from roc-lang/minor-linking-cleanup
link_linux code style improvements
2024-03-05 16:31:49 +01:00
Richard Feldman
09e8131667
Merge pull request #6549 from hristog/newline-when-tests-failed
Add a newline when reporting test failures
2024-03-04 12:26:02 -05:00
Anton-4
f620508a37
misc improvements 2024-03-04 17:10:59 +01:00
Hristo Georgiev
c47fff04d2 Add a newline when reporting test failures 2024-03-03 19:44:04 +00:00
Anton-4
9a6eefdbcf
fix sortAsc sortDesc docs
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-03-02 19:33:39 +01:00
Brendan Hansknecht
26e21addee
Merge pull request #6545 from roc-lang/approx-eq-update
Update Num.isApproxEq
2024-03-01 18:06:04 -08:00
Brendan Hansknecht
3c737c19ee
update mono tests 2024-02-29 21:33:32 -08:00
Brendan Hansknecht
f79e93cfdc
Update Num.isApproxEq
The function is now symmetric and using max instead of sum to separate the absolute and relative tolerance.

Reason for change here: 419553929
2024-02-29 11:30:01 -08:00
Anton-4
9e05d21b3f
less verbose build debugging 2024-02-28 13:50:48 +01:00
Anton-4
bb0df1ef0a
link_linux cleanup 2024-02-28 12:33:34 +01:00
Richard Feldman
878042bc3d
Revise error for single-quote interpolation 2024-02-27 12:11:54 -05:00
Richard Feldman
ffd72b184b
Fix tests 2024-02-27 11:35:06 -05:00
Richard Feldman
6978ca7bf3
roc format now auto-upgrades string interpolation 2024-02-26 23:08:25 -05:00
Richard Feldman
6f84e24fa5
Merge remote-tracking branch 'origin/main' into more-dollars 2024-02-26 23:06:23 -05:00
Oskar Hahn
06ab08003f
Export all symbols on wasm builds 2024-02-26 15:40:58 +01:00
JRI98
acbbdd0f7b
Improve handling of multi pattern unbound variables 2024-02-23 15:22:23 +00:00
Anton-4
b74653db8e
Merge pull request #6533 from lukewilliamboswell/encode-docs
Docs for `Encode` builtin
2024-02-23 15:50:52 +01:00
Anton-4
67cfe7ece0
List.concat -> List.append
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-23 14:21:43 +01:00
Anton-4
af389a9792
minor improvement
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-23 14:08:39 +01:00
Anton-4
df58a4ff07
fix expects
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-23 13:56:34 +01:00
Luke Boswell
a671c4cdc9
clean up 2024-02-22 19:15:01 +11:00
Luke Boswell
921c90a460
roc-gpt attempt 2024-02-22 19:04:18 +11: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
Richard Feldman
3b3a330d73
Merge pull request #6422 from roc-lang/remove-nat
Remove `Nat`
2024-02-20 09:45:36 -05:00
Anton-4
adf88e7282
change underline color 2024-02-19 13:53:01 +01:00
Richard Feldman
12aa775f54
Update mono tests 2024-02-17 13:20:34 -05:00
Richard Feldman
739565e836
Revert "Remove obsolete ListLenUsize"
This reverts commit ad1bca4ac9c40d336522f944df60d61a814435dd.
2024-02-17 13:20:34 -05:00
Richard Feldman
87d4760356
Remove obsolete ListLenUsize 2024-02-17 13:20:34 -05:00
Richard Feldman
762f52b714
Use ListLenU64 where it's needed over ListLenUsize 2024-02-17 13:20:33 -05:00
Richard Feldman
37b154df4f
Remove Str.fromUtf8Range
Seamless slices make this obsolete!
2024-02-17 13:20:33 -05:00
Richard Feldman
74e58d3d51
Fix decode_from_utf8_result 2024-02-17 13:20:33 -05:00
Anton-4
56bf36fc90
green should have been cyan 2024-02-17 11:34:06 +01:00
Anton-4
aeb644cc50
regex to strip html colors 2024-02-16 19:20:20 +01:00
Anton-4
64113bbf72
fix expect colors 2024-02-16 17:14:49 +01:00
Anton-4
7f947ad00b
removed dbg 2024-02-16 16:34:24 +01:00
Anton-4
f66711d53e
re-use strip_colors 2024-02-16 16:32:46 +01:00
Anton-4
00d1ac0aef
removed duplicate code 2024-02-16 15:13:40 +01:00
Richard Feldman
3b55b64ca6
Update mono tests 2024-02-15 06:47:14 -05:00
Richard Feldman
ada83561e5
Split ListLen into ListLenU64 and ListLenUsize
The usize one gets used internally for things like
pattern matches. This is both more efficient (means
they don't have to do unnecessary casts) and also
less error-prone due to e.g. comparing length to
capacity, which is usize.
2024-02-14 21:00:49 -05:00