Commit Graph

27946 Commits

Author SHA1 Message Date
Anton-4
7531d03033
increase nightly linux arm64 timeout
We are regularly exceeding the timeout lately

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-03-04 13:06:01 +01:00
Luke Boswell
8421dcbca0
Merge pull request #6550 from jschear/js/fix_parser_package_tutorial_link
Fix link to parser in tutorial
2024-03-04 11:13:02 +11:00
Jonathan Schear
60edfab7d6
Fix link to parser in tutorial 2024-03-03 17:17:21 -05: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: https://roc.zulipchat.com/#narrow/stream/304641-ideas/topic/ApproxEq.20implementation/near/419553929
2024-02-29 11:30:01 -08:00
Anton-4
9bf57d6337
Merge pull request #6530 from roc-lang/dependabot/npm_and_yarn/examples/nodejs-interop/native-c-api/ip-2.0.1
Bump ip from 2.0.0 to 2.0.1 in /examples/nodejs-interop/native-c-api
2024-02-28 13:14:25 +01:00
Anton-4
660d2b2b25
Merge pull request #6360 from roc-lang/more-dollars
Use $(...) in examples and code base, have `roc format` change to `$`
2024-02-28 10:59:20 +01:00
Richard Feldman
878042bc3d
Revise error for single-quote interpolation 2024-02-27 12:11:54 -05:00
Richard Feldman
2c64718ef6
roc format 2024-02-27 12:05:11 -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
Brendan Hansknecht
3ea97398f5
Merge pull request #6542 from ostcar/fix_wasm_symbol_export
Export all symbols on wasm builds
2024-02-26 18:29:54 -08:00
Richard Feldman
2f1b04414a
Merge pull request #6539 from hristog/ci-workflow-rs-comment-changes
Update CI workflow to not run tests when only rs comments changed
2024-02-26 13:11:15 -05:00
Anton-4
e3f15aaea5
minor changes
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-26 16:31:12 +01:00
Oskar Hahn
06ab08003f
Export all symbols on wasm builds 2024-02-26 15:40:58 +01:00
Hristo Georgiev
7070c6d95f Update CI workflow to not run tests when only rs comments changed 2024-02-25 19:15:57 +00:00
Anton-4
f55df4bf6b
Merge pull request #6535 from roc-lang/nodejs-example-fix
fix nodejs example
2024-02-25 11:02:00 +01:00
Anton-4
a744536575
fix nodejs example
The naming mechanism has changed.
Instead of adding a test for this example now I'm going to make a good-first-issue to move this to the examples repo and add a test there. 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-24 13:39:55 +01:00
Anton-4
2681d81de7
Merge pull request #6531 from roc-lang/fix_repl_basic_test
update repl_basic_test because of #6525
2024-02-23 21:08:30 +01:00
Ayaz
22414c2136
Merge pull request #6280 from JRI98/fix_6279
Improve handling of multi pattern unbound variables
2024-02-23 10:51:35 -06: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
964c7dbcf0
update repl_basic_test because of #6525 2024-02-21 13:41:47 +01:00
dependabot[bot]
3200d042cf
Bump ip from 2.0.0 to 2.0.1 in /examples/nodejs-interop/native-c-api
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-20 22:40:03 +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
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
Richard Feldman
a15cc0589c
Revert "Fix some usize -> u64 in List patterns"
This reverts commit e8a0b0930d.
2024-02-14 20:17:14 -05:00
Richard Feldman
30712d352a
Silence some unused test macro warnings 2024-02-14 20:16:39 -05:00