Commit Graph

8436 Commits

Author SHA1 Message Date
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
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
Folkert
2cabe6546c
use std::starts_with instead of iterator logic 2024-06-05 17:14:06 +02:00
Kiryl Dziamura
3e5cfb546d
check if when branch is suffixed 2024-06-03 23:45:54 +02:00
Kiryl Dziamura
967da48969
Fix typo 2024-06-03 16:58:40 +02:00
Kiryl Dziamura
8883ab9a91
Desugar expect continuation 2024-06-03 16:58:31 +02:00
Andy Ferris
664b1754d0
Print special float values as Num.nanF64, etc 2024-05-31 17:34:43 +10:00
Kiryl Dziamura
e86c6235c1
add multiple args test 2024-05-28 11:34:01 +02:00
Kiryl Dziamura
24f6e46c64
panic with unreachable error 2024-05-28 11:26:32 +02:00
Kiryl Dziamura
cc7b656703
add doc comment 2024-05-28 11:00:28 +02:00
Kiryl Dziamura
cbe5d127d7
fix typos 2024-05-28 09:48:54 +02:00
Kiryl Dziamura
ce6e21ff7a
ignore def pattern for function args 2024-05-27 18:21:00 +02:00
Anton-4
0fb807209b
undo hello world move 2024-05-26 18:58:52 +02:00
Anton-4
08799ea41c
Merge pull request #6769 from roc-lang/replace-site-gen-platform
Remove static-site-gen example and replace website with basic-ssg release
2024-05-22 16:18:04 +02:00
Anton-4
f10f18980d
Merge pull request #6770 from roc-lang/move-basic-cli-tests
Move basic cli tests from examples
2024-05-22 16:13:40 +02:00
Anton-4
544a538604
Merge pull request #6761 from roc-lang/fix-bundle-ingest-files
Fix importing ingested file when bundling packages
2024-05-22 15:11:40 +02:00
Anton-4
00316433d1
remove dbg
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-22 14:20:47 +02:00
Luke Boswell
7962ee1e63
remove linux only breakout tests 2024-05-22 14:06:17 +10:00
Luke Boswell
b775c0e509
move parser cli tests 2024-05-22 13:44:37 +10:00
Luke Boswell
28b6dc11be
move hello world 2024-05-22 13:37:06 +10:00
Luke Boswell
64dba6332d
move argsBROKEN.roc test 2024-05-22 13:35:43 +10:00
Luke Boswell
7cbee42c2c
move ingested-file-bytes.roc test 2024-05-22 13:34:41 +10:00
Luke Boswell
b3f8c4dfd9
move ingested-file-bytes-no-ann.roc test 2024-05-22 13:32:49 +10:00
Luke Boswell
e9c50de4b4
move http-get test 2024-05-22 13:30:47 +10:00