Commit Graph

3241 Commits

Author SHA1 Message Date
Ayaz Hafiz
cf1982733e
Do not clone signature closure type 2022-11-11 21:16:25 -06:00
Ayaz Hafiz
1ab8742d71
Do not clone return type 2022-11-11 21:16:24 -06:00
Ayaz Hafiz
16f622b0df
Eliminate clone of signature 2022-11-11 21:16:24 -06:00
Ayaz Hafiz
75ad2ffede
Do not clone signature closure type 2022-11-11 21:16:24 -06:00
Ayaz Hafiz
b0be1ed08e
Do not clone return type 2022-11-11 21:16:24 -06:00
Ayaz Hafiz
9e09914be2
Remove unused functions 2022-11-11 21:16:24 -06:00
Ayaz Hafiz
02d3c73d9c
Mark internal functions as pub(crate) 2022-11-11 21:16:24 -06:00
Ayaz Hafiz
c66a0f53c6
Remove str_type 2022-11-11 21:16:24 -06:00
Ayaz Hafiz
f1180a1549
Byte deletion party 2022-11-11 21:16:23 -06:00
Ayaz Hafiz
54f4a70a0b
Explain evil 2022-11-11 21:16:23 -06:00
Ayaz Hafiz
a2e90c3709
Fix types SoA usage in solve 2022-11-11 21:16:23 -06:00
Ayaz Hafiz
6b5f632364
[skip-ci] Fix borrow issues in constraining 2022-11-11 21:16:22 -06:00
Ayaz Hafiz
59d2de5a55
Constrain with Types SoA, sans borrow checker 2022-11-11 21:16:05 -06:00
Ayaz Hafiz
e3ef9828c7
Store solve aliases as TypeTag 2022-11-11 21:16:05 -06:00
Ayaz Hafiz
e3dbf5c09c
Use capacity when constructing aliases 2022-11-11 21:16:04 -06:00
Ayaz Hafiz
0d642929aa
Remove builtin aliases in favor of alias instantiation optimizations 2022-11-11 21:16:04 -06:00
Ayaz Hafiz
314b75b0e5
Feed SoA Types from load into solve 2022-11-11 21:16:03 -06:00
Ayaz Hafiz
6f6a90320e
Store types on ConstrainedModule 2022-11-11 21:16:01 -06:00
Ayaz
7ce32e75b7
Merge pull request #4496 from roc-lang/llvm-lowlevel-refactor
Llvm lowlevel refactor
2022-11-11 21:01:40 -06:00
Richard Feldman
83e4eef475
Merge pull request #4492 from joshuawarner32/tuple-syntax-1
Implement initial tuple syntax
2022-11-11 17:55:25 -08:00
Folkert
97ef9e0bbf
Merge remote-tracking branch 'origin/main' into llvm-lowlevel-refactor 2022-11-12 00:42:40 +01:00
Joshua Warner
8d79182730
Actually parse to Expr::Tuple... whoops! 2022-11-11 14:21:08 -05:00
Richard Feldman
58ea07f14f
Merge pull request #4503 from roc-lang/windows-cli-tests
Windows rust platforms
2022-11-11 09:42:06 -08:00
Joshua Warner
6c15cc750f
Change test to use single backpassing instead of multi 2022-11-11 08:13:13 -05:00
Folkert de Vries
9457b87923
Merge pull request #4498 from roc-lang/rust_1_64
rust 1.64
2022-11-11 13:59:40 +01:00
Folkert
f7e0c0a5c9
fix typos 2022-11-11 12:29:40 +01:00
Folkert
926136b7e3
rework cargo invocation 2022-11-11 12:28:28 +01:00
Folkert
8787a1bed2
ignore two cli tests on windows 2022-11-11 12:11:32 +01:00
Folkert
21a1434680
support 64-bit relocations on PE 2022-11-11 12:00:19 +01:00
Anton-4
bb32717d69
added zig flaky fail catcher 2022-11-11 11:52:42 +01:00
Folkert
e0b67e0445
c conditional compilation? 2022-11-11 10:24:23 +01:00
Folkert
e5fe8ab023
fix bug in passing arguments to zig 2022-11-11 00:34:16 +01:00
Folkert
958a4a0a4c
pick rocrun as the default run action in cli tests 2022-11-11 00:16:42 +01:00
Folkert
eafa1d6e5f
improve windows support 2022-11-10 23:48:30 +01:00
Folkert
b6b7d186e4
make new extern functions compile on windows 2022-11-10 23:14:41 +01:00
Folkert
9840cd53df
cleanup 2022-11-10 23:11:22 +01:00
Folkert
761891a5a1
implement implicit addends (used for .rdata relocations by rust) 2022-11-10 22:58:54 +01:00
Folkert
ccc69c2f16
add debug info 2022-11-10 22:30:07 +01:00
Folkert
421413c5cd
try to invoke rustup directly 2022-11-10 19:21:40 +01:00
Folkert
4638984513
use export-executable-symbols 2022-11-10 18:50:31 +01:00
Folkert
5b952616a9
use the nightly compiler on windows to build platforms 2022-11-10 18:48:54 +01:00
Ayaz
2cb72eb622
Merge pull request #4499 from roc-lang/debug-soa-types
Pretty-printer for debug representation of SoA types
2022-11-10 02:01:18 -06:00
Joshua Warner
cdbdfeeaa4
Use closure syntax in parentheses in False.roc 2022-11-09 19:00:27 -05:00
Richard Feldman
e29c914def
Merge pull request #4449 from roc-lang/windows-cli-tests
cli-platform compile on windows
2022-11-09 14:41:46 -08:00
Anton-4
f20577d9fb
format 2022-11-09 20:48:18 +01:00
Ayaz Hafiz
80a05be8e5
Pretty-printer for debug representation of SoA types
```
[roc_load 0.0.1] [crates/compiler/solve/src/solve.rs:331] types.dbg(typ) = (`List.List` (`Num.U8`)), 68 -70->
[roc_load 0.0.1]   (`Decode.DecodeResult` 69
[roc_load 0.0.1]     ==> {result!: `Result.Result` 69 (`Decode.DecodeError` ==> [TooShort]73),
[roc_load 0.0.1]          rest!: `List.List` (`Num.U8`)})
```
2022-11-09 13:34:59 -06:00
Folkert de Vries
d242aa121e
Merge pull request #4497 from roc-lang/mutex-new-is-const
`Mutex::new` is now const
2022-11-09 20:20:49 +01:00
Folkert
bb4b55275f
fix wrong intrinsic being used 2022-11-09 19:35:59 +01:00
Anton-4
38ea090c3e
rust 1.64 + clippy 2022-11-09 19:35:09 +01:00
Folkert
2b6ddc990c
more error info when zig command fails 2022-11-09 19:17:05 +01:00