Commit Graph

962 Commits

Author SHA1 Message Date
Agus Zubiaga
97ddae7e3d
Lower params when calling imported functions 2024-08-17 01:03:34 -03:00
Anton-4
1a8a739250
cargo test in debug mode
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-07-31 18:35:46 +02:00
Kiryl Dziamura
1c01a8f0d3
remove measleading fmt code from snapshots 2024-07-14 09:52:01 +02:00
Kiryl Dziamura
f3e91a104b
remove redundant dependency 2024-07-13 20:46:23 +02:00
Kiryl Dziamura
8949fc710b
use snapshots for suffixed tests 2024-07-13 20:46:22 +02:00
Anton-4
b702cb634f
better mono repl error 2024-07-12 17:02:34 +02:00
Richard Feldman
9234427f30
Add no_std fs 2024-07-04 13:11:44 -04:00
shua
67f555feea
test_mono, uitest: rm stdlib Json dependency
use the same tag len fmt introduced in test_gen/gen_abilities tests
2024-07-01 20:36:28 +02:00
shua
0faa1d5f20
test_gen: replace stdlib Json with inline implementation
Towards the goal of removing Json from stdlib, this change replaces
usage of TotallyNotJson in test_gen/gen_abilities with a simple usable
inline implementation of Encoder/DecoderFormatting.

Similarly, the use of TotallyNotJson in test_reporting is not necessary
at all and is replaced with a Decoder that wouldn't actually work, but
which does compile.
2024-07-01 20:30:05 +02:00
Richard Feldman
d1a002f49e
Have file.rs use the new roc_worker crate 2024-06-17 22:21:07 -04:00
Richard Feldman
4042fd8d52
Split out work.rs into its own crate 2024-06-16 22:26:58 -04:00
Richard Feldman
17d761252f
Improve reporting for doc links problems 2024-04-26 16:31:20 -04:00
Ayaz Hafiz
88c4a3af4e
Rename lang_srv to language_server 2024-04-21 18:03:56 -05:00
dependabot[bot]
83e723dfd1
Bump rustls from 0.21.7 to 0.21.11
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.7 to 0.21.11.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.7...v/0.21.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 20:01:13 +00:00
Luke Boswell
c5cba98381
Merge remote-tracking branch 'remote/main' into suffixed-bang 2024-04-16 06:42:31 +10:00
Anton-4
9a8d8ed243
Merge branch 'main' into dependabot/cargo/tracing-0.1.40 2024-04-15 14:05:47 +02:00
Luke Boswell
f9771a9983
split test_utils 2024-04-15 20:30:34 +10:00
Luke Boswell
5a91a4f78a
WIP support nested suffixes 2024-04-14 13:45:03 +10:00
Luke Boswell
42fdcb7ff1
Make unit assignment optional for suffixed defs 2024-04-14 13:44:59 +10:00
Anton-4
3d2a5897e5
roc_bitcode false positive 2024-04-09 20:01:33 +02:00
Anton-4
f085b96f78
removed unused deps, added CI test 2024-04-09 19:47:31 +02:00
dependabot[bot]
40cfa6d231
Bump h2 from 0.3.21 to 0.3.26
Bumps [h2](https://github.com/hyperium/h2) from 0.3.21 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.21...v0.3.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 16:08:55 +00: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
Anton-4
121c585681
Merge pull request #6567 from jschear/js/expects_per_module
Run expects separately per module, report test results per module behind `--verbose` flag
2024-03-15 19:15:00 +01:00
Eli Dowling
b98633f1ba
fixed unwinding of async 2024-03-12 06:42:29 +10:00
Jonathan Schear
71b97572ae
Add test for transitive expects 2024-03-08 14:56:36 -05:00
dependabot[bot]
b2183cb32d
Bump mio from 0.8.8 to 0.8.11
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.8 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.8...v0.8.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 22:01:24 +00:00
Anton-4
aeb644cc50
regex to strip html colors 2024-02-16 19:20:20 +01:00
Luke Boswell
448c29353e
Merge pull request #6134 from faldor20/lsp_completion
Support for completion in the language server
2024-02-09 18:43:40 +11:00
Brian Carroll
26fdbaf4cd
Create a debug flag for build commands 2024-02-06 07:54:55 +00:00
Eli Dowling
93b6ca7bb5
try rebuilding the cargo.toml from master version
Signed-off-by: faldor20 <eli.jambu@yahoo.com>
2024-01-29 22:06:51 +10:00
Eli Dowling
9d02662d2c
added indoc to tests and increased delay to ensure it is longer than change debounce
Signed-off-by: faldor20 <eli.jambu@yahoo.com>
2024-01-29 21:54:51 +10:00
Eli Dowling
94102f6097
updated tests
removed accidentally commited

Signed-off-by: faldor20 <eli.jambu@yahoo.com>
2024-01-29 21:54:50 +10:00
Eli Dowling
6dfbc1747c
Using env_logger for logging
added testing

Signed-off-by: faldor20 <eli.jambu@yahoo.com>
2024-01-29 21:54:47 +10:00
Eli Dowling
b125cc22aa
Switched to simpler version of locking mechanisim
Signed-off-by: faldor20 <eli.jambu@yahoo.com>
2024-01-29 21:54:46 +10:00
Eli Dowling
a2c8acd9ac
completed refactor
added cargo lock

Signed-off-by: faldor20 <eli.jambu@yahoo.com>
2024-01-29 21:54:46 +10:00
dependabot[bot]
c6d45ce176
Bump tracing from 0.1.39 to 0.1.40
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 20:35:13 +00:00
Anton-4
5e76695aca
downgrade ahash 2023-12-30 16:37:39 +01:00
Anton-4
728f36cff8
crate upgrades for ahash issue
cli_run::static_site_gen was hitting 'use of unstable library feature stdsimd' when compiling ahash. ahash was a dependency of hashbrown 0.13.2.
2023-12-30 16:16:22 +01:00
Richard Feldman
7952fa2e73
Delete unused arena-pool crate 2023-12-26 10:59:14 -05:00
Richard Feldman
896c010645
Move test_reporting into load to break cyclic dep 2023-11-10 16:16:54 -05:00
Richard Feldman
6bd9fcd6e9
roc_solve shouldn't depend on itself 2023-11-10 16:04:06 -05:00
Ayaz Hafiz
6dbdc91b92
Fix lockfile 2023-10-25 17:17:49 -05:00
Ayaz Hafiz
ce6c340ebc
First pass at semantic tokens 2023-10-25 17:15:04 -05:00
Ayaz Hafiz
03d132cf6d
Formatting 2023-10-25 17:14:50 -05:00
Ayaz Hafiz
886a367026
Go-to-definition basic support 2023-10-25 17:14:50 -05:00
Ayaz Hafiz
e954e074fb
Refactor for less laziness (right now) 2023-10-25 17:14:50 -05:00
Ayaz Hafiz
703ef6608e
Fix errors 2023-10-25 17:14:49 -05:00
Ayaz Hafiz
9d365a8a57
Support basic diagnostic reporting 2023-10-25 17:14:32 -05:00
Brendan Hansknecht
398bf2f96c
update rust code to llvm-16 and fix build
also update:
 - llvm frame address
 - erased function type
 - dec passing to zig
 - gen dev storage size
2023-10-23 13:50:31 -07:00