Brendan Hansknecht
6e90052000
fix typo
2024-07-13 10:39:58 -07:00
Brendan Hansknecht
8008c12a81
fix element refcounted for non-list types in dev backend
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
4e8f916204
correct pointer alignment on decref
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
d4b86a745b
update mono tests
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
afda757433
avoid extra joinpoint and loop for list refcounting
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
0d083bc192
fix dev-wasm ListGetUnsafe refcounting
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
5d613cd5f5
add more refcounting test cases
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
f4117c99d5
add more refcounting test cases
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
675e0693a4
clarify function name
2024-07-13 10:39:57 -07:00
Brendan Hansknecht
c734a27b59
move List.map* into roc
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
7d8fbfbe85
also remove inc functions from gen_dev
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
8137e8aa84
add test case for List.map refcounting
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
94cb4fb8ff
remove inc functions from list.map*, the closure will inc in necessary
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
6712824891
correct arg mapping for inline refcounting calls
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
b28e6b343a
cleanup gen_refcount and add new test based on map2
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
9a020100a9
skip broken glue tests for now
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
266fe4bdc8
fix zig tests
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
1e04668ee4
remove ld_classic and fix dev backend missing layout
2024-07-13 10:39:56 -07:00
Brendan Hansknecht
0f7964cc9c
get runtime representation within a pointer instead of of pointers to correctly find refcount functions
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
a8bef30392
fix gen_refcount tests
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
ad76fa2a4e
use calloc to make wasm tests consistent
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
f92d1934d4
add missing symbol in call
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
ba9b15f7d6
generate elem refcount function and pass it into decref lowlevel
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
516afaff41
minor arg correction
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
7529883451
correct list.dropAt arguments in dev wasm
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
927eff0bf4
generate indirect refcount calls in wasm backend
2024-07-13 10:39:55 -07:00
Brendan Hansknecht
0ad638b17d
minor cleanup
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
b381271150
tiny bit of minor cleanup
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
d0b564360b
correct low level calling for list incref/decref
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
23154c41aa
Revert "start correct list refcount function generation"
...
This reverts commit a8b4d0ef7f
.
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
e92cf1be42
Revert "attempt to correct list refcount generation in dev backends"
...
This reverts commit 0854a1a53a
.
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
175255cf86
remove accidental .zig-cache
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
36bc8bfac4
attempt to correct list refcount generation in dev backends
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
94fe0820d5
start correct list refcount function generation
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
61784629e7
update todos around list refcount func generation
2024-07-13 10:39:54 -07:00
Brendan Hansknecht
6b761f6f81
fix zig builtin compilation and warnings
2024-07-13 10:39:53 -07:00
Brendan Hansknecht
669daad33d
wasm backend call into zig to allocate with refcount correctly
2024-07-13 10:39:53 -07:00
Brendan Hansknecht
54d0409396
correct some gen dev layouts
2024-07-13 10:39:53 -07:00
Brendan Hansknecht
9e70308952
cleanup misc minor issues
2024-07-13 10:39:53 -07:00
Brendan Hansknecht
48eb9c31a9
update list generated refcounting functions for dev and wasm
2024-07-13 10:39:53 -07:00
Brendan Hansknecht
3238ee7d0d
correct UTILS_FREE_DATA_PTR function calls
2024-07-13 10:39:53 -07:00
Brendan Hansknecht
0d0a4a8806
Update refcounting of list builtins to the new system.
2024-07-13 10:39:53 -07:00
Brendan Hansknecht
d5e91ed61e
Update dev and wasm backend to use new list bitcode args
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
c79febb52d
Change RocRefcounted to have argumentless inc function
...
Just inc by 1. No need for inc by n.
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
f87c32ca7d
clippy
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
442ba0b49a
Manually implement RocRefcounted in Glue
...
I needed to update RustGlue.roc to generate this.
That said, I want to see and measure results.
As such, I am just manually implementing this for now!
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
44cd1ee9c4
Avoid accessing unallocated bytes in list.incref
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
9b6798ead1
Correct refcounting check to be recursive through aggregate types
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
951cb1ef3d
Correct list replace bitcode arg order
2024-07-13 10:39:52 -07:00
Brendan Hansknecht
e2dc112f86
Correct sizes when allocating lists from rust
2024-07-13 10:39:51 -07:00
Brendan Hansknecht
a1d08702a4
Update roc_std List to handle size on the heap
...
This increased the number of failing tests for some reason (more segfaults).
That said, I think it is correct.
Probably just exposing errors from elsewher that haven't been addressed (maybe causing a double free).
2024-07-13 10:39:51 -07:00
Brendan Hansknecht
93fab26c01
Add a RocRefcounted trait in roc_std
...
This is required to properly handle refcounting of RocList.
Without it, we can't tell if we need to get the length from the heap.
That said, it isn't a pretty solution.
I think dealing with generating bespoke type in glue would feel nicer than this but be much more work.
It also would deal with the issue of implementations in the bitcode not matching external libraries.
That said, it would require exposing way more symbols from roc for each monomophorphized list variant.
2024-07-13 10:39:51 -07:00
Brendan Hansknecht
3c842196fa
Update LLVM to properly increment and decrement lists
2024-07-13 10:39:51 -07:00
Brendan Hansknecht
255cc31ad9
change zig bitcode refcounting to require whether or not an element is refcounted
...
This also requires zig bitcode to have access to the dec functions for elements.
This is needed so that zig will be able to free elements in lists.
2024-07-13 10:39:51 -07:00
Anton-4
42a366481b
fix wasm repl warnings
2024-07-13 18:45:01 +02:00
Anton-4
b702cb634f
better mono repl error
2024-07-12 17:02:34 +02:00
Anton-4
3a36d84c45
update to basic-cli 0.12
2024-07-10 20:07:03 +02:00
Anton-4
15a7ed2e95
added error tip
2024-07-09 19:46:33 +02:00
Anton-4
0d9db5bf2d
Merge pull request #6881 from roc-lang/empty-open-union
...
fix openness inference for empty tag
2024-07-09 16:46:54 +02:00
Anton-4
4341c37b99
cleanup
2024-07-09 13:55:39 +02:00
Sam Mohr
b9a17f4a49
Merge pull request #6883 from smores56/new-builder-syntax
...
Implement new builder syntax alongside old one
2024-07-08 11:19:01 -07:00
Anton-4
0502734293
fmt
2024-07-08 14:14:36 +02:00
Anton-4
6b2d2e3406
minor improvements
2024-07-08 14:11:22 +02:00
Kiryl Dziamura
2cad4b3e21
update test snapshots
2024-07-08 11:51:29 +02:00
Kiryl Dziamura
3f22c55dda
fix suffixed tests
2024-07-08 11:39:04 +02:00
Kiryl Dziamura
ebf55fa793
fix region calculation
2024-07-08 11:39:03 +02:00
Kiryl Dziamura
b2484f144c
fix def replace
2024-07-08 11:39:03 +02:00
Kiryl Dziamura
8163de02f3
refactor unique ident generator
2024-07-08 09:44:36 +02:00
Kiryl Dziamura
64220567e5
better documentation for underscore pattern
2024-07-08 09:44:36 +02:00
Kiryl Dziamura
e0af069645
don't unwrap empty destructuring pattern
2024-07-08 09:44:35 +02:00
Sam Mohr
74f05eca40
Fix broken test_reporting test
2024-07-07 19:02:31 -07:00
Sam Mohr
618b713ecd
Merge branch 'main' into new-builder-syntax
2024-07-07 18:33:36 -07:00
Sam Mohr
fe1b6d71fc
Update from PR comments
2024-07-07 18:33:20 -07:00
Luke Boswell
1d1b96abb9
Merge pull request #6862 from JRI98/fix_6215
...
Fix handling of spaces after for `as`
2024-07-08 08:51:53 +10:00
Richard Feldman
595695af23
Merge pull request #6869 from roc-lang/fs
...
Add no_std fs
2024-07-07 18:47:24 -04:00
Brendan Hansknecht
69d670d27e
Merge pull request #6878 from roc-lang/glue-borrow
...
Update rust glue to allow for borrowing payloads from tags
2024-07-07 15:23:14 -07:00
Ayaz
eca229e3d1
Merge pull request #6887 from roc-lang/in-layout-unit
2024-07-07 17:22:56 -05:00
Folkert
80a83f3935
when inserting into an interner, re-use Layout::UNIT when possible
...
it is prettier in debug output, and should also be more efficient
2024-07-07 23:11:36 +02:00
Ayaz Hafiz
0e52a7e069
Make sure FunctionKind is determined in all entry points
...
There are a lot of entry points for a Roc program. They should probably
be all consolidated into one, but for now, when FunctionKind is needed,
determine it from the environment. This fixes EXPERIMENTAL_ROC_ERASE for
`roc test` etc.
Also print the location of a failure when `internal_error!` is called. I
think this should panic instead, and I thought it used to - does anyone
know if that changed?
2024-07-07 16:01:14 -05:00
Sam Mohr
f415017c90
Implement new builder syntax alongside old one
2024-07-07 03:28:59 -07:00
Anton-4
7180a93273
fix openness inference for empty tag
2024-07-06 16:29:10 +02:00
Folkert
2ec7f56643
add TODO comment
2024-07-06 16:21:03 +02:00
Folkert
ee3ac41a58
add assert to prevent UB?!
2024-07-06 16:14:34 +02:00
Folkert
26e6f1ca92
clippy
2024-07-06 16:14:34 +02:00
Folkert
d5394345de
format RustGlue.roc
2024-07-06 16:14:33 +02:00
Folkert
90b70c3df0
slightly optimize modified tracking
2024-07-06 16:14:33 +02:00
Folkert
f4bd41352b
use BorrowSignature::from_layouts
2024-07-06 16:14:33 +02:00
Folkert
14b02c5827
remove clone
2024-07-06 16:14:32 +02:00
Folkert
413d6621c0
clippy
2024-07-06 16:14:32 +02:00
Folkert
9c0408b28e
fix ui tests
2024-07-06 16:14:32 +02:00
Folkert
047779d981
WIP infer join points too
2024-07-06 16:14:29 +02:00
Folkert
0932c542ca
update mono tests
2024-07-06 16:12:01 +02:00
Folkert
4a121a2348
nothing we can do for by-pointer calls
2024-07-06 16:08:59 +02:00
Folkert
92100d710d
better panic message when glue command fails
2024-07-06 16:08:59 +02:00
Folkert
f361d79249
make a real fixed point
2024-07-06 16:08:59 +02:00
Folkert
48ddbec9d1
mono tests
2024-07-06 16:08:56 +02:00
Folkert
3cbec41d59
hook borrow inference up
2024-07-06 16:05:52 +02:00
Folkert
199558b661
basic transitive inference
2024-07-06 16:05:52 +02:00
Brendan Hansknecht
20a1f3c359
Update rust glue to allow for borrowing payloads from tags
2024-07-05 23:30:05 -07:00
Anton-4
1bcf30391b
Merge pull request #6819 from roc-lang/rust-1-77-2-upgrade
...
Rust 1.77.2 upgrade
2024-07-06 03:23:54 +02:00
Anton-4
81d18cc84b
use dead_code for Both
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-07-05 14:17:52 +02:00
JRI98
25084b18ec
Fix handling of spaces after for as
2024-07-05 09:40:56 +01:00
Richard Feldman
6932b3f8f2
Fix Windows with_tempfile
2024-07-04 19:50:01 -04:00
Richard Feldman
5bf2c11bea
Fix some unused warnings on Windows tests
2024-07-04 19:34:53 -04:00
Richard Feldman
3e160d81ca
Fix File::create()
2024-07-04 14:27:18 -04:00
Richard Feldman
2fe1604652
Add FileIoErr::AlreadyExists + some Windows fixes
2024-07-04 13:54:54 -04:00
Richard Feldman
f6016c1009
clippy
2024-07-04 13:28:17 -04:00
Richard Feldman
9234427f30
Add no_std fs
2024-07-04 13:11:44 -04:00
Agus Zubiaga
13ba59a4cb
Fix hang on qualified import with builtin name
2024-07-03 12:40:53 -03:00
Luke Boswell
f69d39dffc
Merge pull request #6808 from roc-lang/process-host
...
Update preprocess host API
2024-07-03 10:23:44 +10:00
Luke Boswell
a44a6889bd
Merge pull request #6851 from kdziamura/last-expr-desugar
...
Simplify Defs parsing
2024-07-02 08:48:31 +10:00
Ryan Barth
3edc551043
chore: cargo fmt
2024-07-01 15:01:32 -07:00
shua
d90da3af52
rm TotallyNotJson
...
TotallyNotJson.roc now lives on the farm in virtual-dom-wip as Json.roc.
Any reference in stdlib or builtins has been removed, as well as the
last places it was used (in python/ruby-interop examples).
2024-07-01 20:37:23 +02: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
Kiryl Dziamura
819cfd6035
fix test snapshots
2024-07-01 19:48:00 +02:00
Kiryl Dziamura
6329389972
add tests
2024-07-01 19:47:49 +02:00
Kiryl Dziamura
1008b94259
fix returned expression desugaring
2024-07-01 19:46:59 +02:00
Kiryl Dziamura
c4b63aa80a
simplify defs parsing
2024-07-01 19:44:32 +02:00
Kiryl Dziamura
de9ed734c5
remove EmptyDefsFinal
2024-07-01 18:45:23 +02:00
Ryan Barth
43f970f813
fix: count all symbols to err on the side of over allocating
2024-06-30 23:17:20 -07:00
Ryan Barth
3fe2a4cd13
refactor: remove duplicate symbol functions from macho module
2024-06-30 23:01:32 -07:00
Ryan Barth
720ed2a457
fix: calculate windows dll symbols from prebuilt shared library
2024-06-30 22:56:14 -07:00
Richard Feldman
e421ef61be
Use internal_error over panic
2024-06-30 08:19:37 -04:00
Richard Feldman
1caebcff56
Update some error macro docs
2024-06-30 08:18:49 -04:00
Richard Feldman
f0f8d76055
Remove heap_alloc for now
2024-06-30 08:17:35 -04:00
Richard Feldman
39144a198d
Make error_and_exit inline(never) and cold
2024-06-30 08:17:35 -04:00
Richard Feldman
6102e38f33
Use target_arch if targeting wasm (so wasi works)
2024-06-30 08:17:34 -04:00
Richard Feldman
2253e849d4
clippy
2024-06-29 23:20:44 -04:00
Richard Feldman
28be4e5ee2
Make some things non-pub that don't need to be pub
2024-06-29 21:17:42 -04:00
Richard Feldman
863c97330d
Use constants for error message strings
2024-06-29 21:15:23 -04:00
Richard Feldman
99eb5bfe1e
Support formatting strings in error macros
2024-06-29 21:09:17 -04:00
Richard Feldman
101621bd5a
Make error_macros be no_std
2024-06-29 20:53:06 -04:00
Kiryl Dziamura
9c133f72d8
test bang in dbg arg
2024-06-28 13:31:47 +02:00
Kiryl Dziamura
aa17d17c60
handle bang in dbg arg
2024-06-28 13:26:38 +02:00
Luke Boswell
b92d0ef315
fix host_dest in preprocessed_host
2024-06-28 15:25:07 +10:00
Luke Boswell
44d76d78a1
Merge pull request #6833 from shua/fixme
...
resolve TODO: don't use vec
2024-06-28 12:44:43 +10:00
Luke Boswell
df9718ac1e
Merge pull request #6733 from jdsee/patch-1
...
Document LSP configuration via nvim-lspconfig
2024-06-28 11:23:04 +10:00
Joscha Seelig
7e3d5752b9
Fix typo
...
Signed-off-by: Joscha Seelig <45944324+jdsee@users.noreply.github.com>
2024-06-28 10:23:32 +10:00
Joscha Seelig
20a5bd668a
Document LSP configuration via nvim-lspconfig
...
Signed-off-by: Joscha Seelig <45944324+jdsee@users.noreply.github.com>
2024-06-28 10:23:31 +10:00
Luke Boswell
1c091e6cd5
Merge pull request #6826 from JRI98/fix_6825
...
Handle multi pattern unbound list rest variables
2024-06-28 10:18:11 +10:00
Luke Boswell
ca0ebe613d
Merge pull request #6842 from JackoCoolio/fix-dev-exit-code
...
Make `roc dev someFile.roc` forward exit status
2024-06-28 10:16:45 +10:00
Luke Boswell
ee84b61360
update preprocess host API
2024-06-28 09:12:45 +10:00
Isak
eb98dd7bde
move comment
2024-06-27 13:38:30 -04:00
Isak
cc7d3d3e1d
fix: allow multiple newlines between signature and body
2024-06-27 13:34:09 -04:00
Jackson Wambolt
d0f8dbe85b
Clean up roc_dev_native
a bit
...
`writer` is only used by the parent process, so we don't need the
soon-to-be-forked child process to create it just to immediately get
overwritten by `execve`.
2024-06-26 01:49:13 -05:00
Jackson Wambolt
11c9b90551
Get exit code correctly
...
`status` isn't the exit code of the program - the actual exit code is
shifted left by 8 bits. We can get that with a `WIFEXITED` check to make
sure the exit code exists, followed by `WEXITSTATUS` to retrieve it.
2024-06-26 01:49:13 -05:00
Jackson Wambolt
1f0303cf53
Narrow use of unsafe in roc_run_native
...
`roc_run_native_fast` is actually the only unsafe part of the function,
so we probably don't need everything to be wrapped in an `unsafe` block.
2024-06-26 01:43:19 -05:00
Ayaz Hafiz
8cdb193301
Update stale document references
2024-06-26 02:16:20 -04:00
Agus Zubiaga
ad6dde10af
Load packages of platform
2024-06-25 21:39:55 -03:00
Agus Zubiaga
c36595e60d
Load packages of packages
2024-06-25 21:29:21 -03:00
Kiryl Dziamura
bff73ff6b2
check if final expr in deps is suffixed
2024-06-25 19:14:18 +02:00
Anton-4
1b10772bcb
Merge pull request #6648 from JackoCoolio/unmacro_parsers
...
Unmacro parser combinators
2024-06-25 12:54:22 +02:00
Anton-4
d47a073634
Merge pull request #6834 from r-bar/fix/wasi-libc-lib
...
fix: wasi-libc.a library packaging
2024-06-24 16:57:05 +02:00
shua
91c071713b
appease clippy (only on mac silicon?)
2024-06-24 16:53:32 +02:00
Ryan Barth
1858fc90e1
fix: use path finder everywhere, fix get_relative_path() call
2024-06-23 12:02:50 -07:00
Ryan Barth
5a231763af
fix: change target directory output to match release tarball structure
2024-06-23 10:00:36 -07:00
shua
4d0112ef2a
resolve TODO: don't use vec
2024-06-23 16:20:05 +02:00
Anton-4
f8432f7510
fmt
2024-06-22 20:09:15 +02:00
Anton-4
ab217ede3f
Merge remote-tracking branch 'upstream/main' into unmacro_parsers
2024-06-22 20:02:30 +02:00
shua
e2eb9c9aaa
rm dead FIXME comment
...
this comment was added originally in 24e6cd80e7
, but was a comment on a `if cfg(..) {...}` block. Later that `if` was removed but the comment was not, and eventually got copied to another location making it even harder to figure out why it's there.
2024-06-22 19:07:26 +02:00
JRI98
f4551978ce
Handle multi pattern unbound list rest variables
2024-06-21 17:01:49 +01:00
Luke Boswell
03eadc2e0f
Merge pull request #6822 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/braces-3.0.3
...
Bump braces from 3.0.2 to 3.0.3 in /crates/compiler/checkmate/www
2024-06-21 18:17:19 +10:00
Evan Relf
2a71dccf5e
Add tests
2024-06-19 15:19:25 -07:00
Evan Relf
d678f1c049
Format shebangs correctly
...
Fixes the regression I described in [#1135 ].
[#1135 ]: https://github.com/roc-lang/roc/issues/1135
2024-06-19 15:07:22 -07:00
dependabot[bot]
f43c6b2026
Bump braces from 3.0.2 to 3.0.3 in /crates/compiler/checkmate/www
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-19 21:13:36 +00:00
Anton-4
d921d77ab6
removed TODO
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-06-19 19:33:12 +02:00
Anton-4
c54c0e9741
skip advanced_recursive_union
...
see #5924
2024-06-19 15:37:14 +02:00
Anton-4
212c736806
macos clippy
2024-06-19 14:11:42 +02:00
Anton-4
05a61e2210
clippy + fmt
2024-06-19 12:34:10 +02:00
Anton-4
fb7fa99b2c
Merge branch 'main' of github.com:roc-lang/roc into rust-1-77-2-upgrade
2024-06-18 18:47:09 +02:00
Richard Feldman
b79ee68729
clippy
2024-06-17 22:25:15 -04:00
Richard Feldman
d2e1428003
Delete worker.rs for now
2024-06-17 22:25:15 -04: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
Agus Zubiaga
facae9d56c
Fix platform root module flag
...
When loading a platform module as the root, the `is_root_module`
flag in `HeaderInfo` would be set to `false`. This caused issues
with docs generation.
2024-06-12 19:00:15 -03:00
Luke Boswell
3976c39c6d
add SystemConfiguration framework
2024-06-12 15:46:45 +10:00
Anton-4
ba506d5257
merge fix
2024-06-11 18:24:22 +02:00
Anton-4
4d00e9ad51
Merge branch 'main' into main
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-06-11 18:18:47 +02:00
Anton-4
da95b6d28b
Merge pull request #6791 from shua/concatutf8
...
builtin: List.concatUtf8 : List U8, Str -> Str
2024-06-11 16:21:30 +02:00
shua
a2c800452e
add branch on ptr width back
...
apple arm tests are failing, maybe this will fix it?
2024-06-10 23:16:33 +02:00
Anton-4
18394da2a2
update mono tests
2024-06-10 16:32:53 +02:00
Agus Zubiaga
ec23c9a41b
Add missing argument in test_gen helpers/wasm
2024-06-10 10:18:51 -03:00
Agus Zubiaga
a1b84f01f5
Add missing argument in test_gen helpers/dev
2024-06-09 15:25:01 -03:00
John Konecny
a189e3ab20
Warnings are now yellow
2024-06-09 13:23:31 -04:00
Agus Zubiaga
aedb353088
Move main.roc to a constant
2024-06-08 20:23:45 -03:00
Agus Zubiaga
6640893410
Fix test_reporting UNRECOGNIZED_PACKAGE header
2024-06-08 20:23:28 -03:00
Agus Zubiaga
4e5fdfbf52
Handle root type when loading from str
2024-06-08 19:46:41 -03:00
Agus Zubiaga
0283bd1d24
UNKNOWN PACKAGE -> UNRECOGNIZED PACKAGE rename
2024-06-08 18:34:45 -03:00
Agus Zubiaga
ec55caa77a
Custom reporting for unknown package when checking a module directly
2024-06-08 18:29:30 -03:00
Agus Zubiaga
7faff12cbf
Report unrecognized shorthands when loading from the root module
2024-06-08 14:12:01 -03:00
shua
f7bec802c0
PR: rename to List.concatUtf8
2024-06-08 13:36:20 +02:00
Agus Zubiaga
5a1bf2b891
Shorter module_ids lock in load#parse
2024-06-07 18:10:32 -03:00
Agus Zubiaga
f5e08cb917
Use module's parent dir if main roc file is not found
2024-06-07 17:42:04 -03:00
Agus Zubiaga
2da7ea394b
Add --main flag to specify app/package to resolve deps from
2024-06-07 17:09:44 -03:00
shua
33e8a7a439
implement Str.concatUtf8
2024-06-07 19:05:52 +02:00
Agus Zubiaga
75fe98cbaf
Load packages from main package/platform when checking a module
2024-06-06 20:47:50 -03:00
Agus Zubiaga
cf8ab11d27
Load packages from main app when checking a module
2024-06-06 20:25:54 -03:00
Agus Zubiaga
3ff0c986e8
Extract shorthand registration into its own function
2024-06-05 22:16:32 -03:00
Agus Zubiaga
f92bf4852f
Find main.roc when loading a module
2024-06-05 20:24:49 -03:00