Anton-4
ba1a1e9243
minor wording change
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-28 11:42:52 +01:00
Anton-4
73597778b9
minor wording change
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-11-28 11:41:54 +01:00
caryoscelus
2fc8e88cca
Report lacking platform name in app header
2023-11-28 05:52:43 +00:00
caryoscelus
3332503f1d
Test reporting lack of to
in app header
2023-11-28 02:18:50 +00:00
caryoscelus
d141237a17
Report lacking to
while parsing app header
2023-11-28 02:18:24 +00:00
Jakub
7b08bf9486
Add CSS border to module functions in docs nav
...
Make side nav in docs more readable
Signed-off-by: Jakub <nawias@gmail.com>
2023-11-25 15:49:47 +01:00
Luke Boswell
255847d2fe
cargo fmt
2023-11-24 09:57:06 +11:00
Luke Boswell
57f7a79a52
change @ token an UpperIdent
2023-11-24 08:33:02 +11:00
Richard Feldman
5e911f14d8
Merge pull request #6057 from lsculv/record-field-error-typo
...
Fix typo 'I trying' -> 'I am trying'
2023-11-22 09:12:30 -05:00
Anton-4
d72621ac03
Merge pull request #5983 from HajagosNorbert/get-pointer
...
mono::ir::Expr::UnionFieldPtrAtIndex -> GetElementPointer
2023-11-22 14:59:37 +01:00
Norbert Hajagos
70a10e45c1
Merge branch 'main' into get-pointer
2023-11-22 08:30:38 +01:00
Lucas Culverhouse
3c05690997
Fix typo 'I trying' -> 'I am trying'
2023-11-21 17:33:57 -08:00
jecaro
57f55dbe7e
Fix typo
2023-11-21 19:47:27 +01:00
jecaro
55befee0b0
Dont swallow bad input while parsing spaces
...
Fix #5939
2023-11-21 19:47:17 +01:00
Brendan Hansknecht
08ee6ed018
Merge pull request #6030 from roc-lang/pattern-match-rest-as
...
Pattern match rest as
2023-11-21 08:06:32 -08:00
HajagosNorbert
d71b386715
Merge branch 'main' into get-pointer
2023-11-21 11:15:28 +01:00
jecaro
d21ea2ea83
Fix zig_host_app on NixOS
...
That's a problem with the dynamic loader:
https://discourse.nixos.org/t/no-such-file-of-directory-when-trying-to-execute-binary-file/6150
When linking `libapp.so` with `host.zig`, zig puts in the binary the
standard path for the dynamic loader on linux:
`/lib64/ld-linux-x86-64.so.2`
However in NixOS, that file is somewhere else in the nix store (see:
https://nixos.wiki/wiki/Packaging/Binaries#The_Dynamic_Loader ). Removing
the `-target` switch makes zig uses the host target for linking and puts
the right path to the dynamic loader in the resulting binary. As we want
to execute that binary file in this test, it makes sense to use the
default target anyway.
Note that this is relevant for the creation of the binary only. For the
creation of the object file, it doesn't really matter. But I removed the
`-target` switch as well there for consistency.
Fix #4180
2023-11-21 11:12:31 +01:00
HajagosNorbert
6975294278
format code & replace vec!(in arena;...) with arena.alloc([...])
2023-11-21 11:09:42 +01:00
Brendan Hansknecht
af5b209c9f
misc cleanup suggestions
2023-11-20 21:33:47 -08:00
Brendan Hansknecht
2ef97fc5a1
update mono tests due to List.sublist change
2023-11-20 21:09:12 -08:00
Brendan Hansknecht
2de96ed5a8
add spread as test
2023-11-20 21:09:12 -08:00
Brendan Hansknecht
9cf0d5366f
add test case for exhaustiveness checking of list with rest and front and back
2023-11-20 21:09:12 -08:00
Brendan Hansknecht
bf7be1533b
fix indexing
2023-11-20 21:09:12 -08:00
Ayaz Hafiz
f72b8c2c30
Specialize polymorphic lists against non-polymorphic ones
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
37a8bbd87c
correct list pattern match checking to add extra anythings for patterns with rest
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
ee10af2c68
add currently broken test case for list .. as rest
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
3e39a32f0e
cleanup reversed stores to make logic clearer
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
2fb093d4c8
clippy
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
26afbbe8f6
remove redunant list.sublist check
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
223efe4a2d
fix using .. as name
in list patterns
2023-11-20 21:09:11 -08:00
Brendan Hansknecht
03b3b4e341
add check tests to avoid basic-cli files going stale
2023-11-20 19:33:23 -08:00
Brendan Hansknecht
ffda01e80b
update all examples to basic-cli version and mark broken examples
2023-11-20 15:36:15 -08:00
Brendan Hansknecht
f727aea875
Remove stale copy of basic-cli from the repo
...
It is outdated and source of bugs for users.
There should only exist one form of basic-cli.
There are still plently of local platforms if we need them for testing.
On top of that, more can be added to cli_test_examples if needed.
2023-11-20 14:59:13 -08:00
Richard Feldman
f128ea3644
Fix copy-code buttons on /tutorial
2023-11-20 06:47:22 -05:00
Richard Feldman
b725a114cf
Remove fancy quote from rockin' roc repl
2023-11-18 22:16:14 -05:00
Richard Feldman
91c528193d
cargo fmt
2023-11-18 21:33:38 -05:00
Richard Feldman
89be091f87
Order modules in docs sidebar based on exposes
2023-11-18 21:02:49 -05:00
Richard Feldman
9a12175a96
Drop redundant exposed Set
2023-11-18 21:02:33 -05:00
Richard Feldman
93fe2409e7
Fix link hover color on generated docs
2023-11-18 20:09:51 -05:00
Richard Feldman
06e15973fd
Don't auto-indent doc headings
...
It looks bad if there are newlines in there
2023-11-18 20:04:09 -05:00
Richard Feldman
b173f8368e
Update docs styles
2023-11-18 20:03:40 -05:00
Richard Feldman
b8f89a121b
Fix some generated documentation styles
2023-11-18 19:48:25 -05:00
Richard Feldman
a2fdd090bd
Merge pull request #5994 from jecaro/fix-op-handling-in-type-missmatch-errors
...
Show the right fct name in type error messages
2023-11-18 07:42:05 -05:00
Richard Feldman
cc41f3a2f0
Merge pull request #5954 from yukiomoto/fix-num-related-crash
...
Fix crash caused by number related type error in repl
2023-11-17 20:35:33 -05:00
jecaro
2ffe2fd2dd
fix golden tests accordingly
2023-11-17 10:51:27 +01:00
jecaro
c858031f74
Show the right fct name in type error messages
2023-11-16 16:44:55 +01:00
Brendan Hansknecht
d01fc9156c
add missing traits to RocResult
2023-11-14 18:16:04 -08:00
Anton-4
7b1f2d2ac1
Merge pull request #5982 from jecaro/error-msg-non-utf8
...
Set a better error msg for non uft8 encoded files
2023-11-14 16:31:24 +01:00
jecaro
0781232940
Set a better error msg for non uft8 encoded files
2023-11-14 15:22:22 +01:00
HajagosNorbert
9c21ac1388
rename to GetElementPointer, index -> indices
2023-11-13 15:48:05 +01:00