Commit graph

2225 commits

Author SHA1 Message Date
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
926136b7e3
rework cargo invocation 2022-11-11 12:28:28 +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
b6b7d186e4
make new extern functions compile on windows 2022-11-10 23:14:41 +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
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
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
52ea287204
Revert "simplify cargo toml"
This reverts commit f6ce4ecab7.
2022-11-09 18:20:37 +01:00
Folkert
f6ce4ecab7
simplify cargo toml 2022-11-09 18:15:50 +01:00
Folkert
e92ceb7282
Mutex::new() is now const 2022-11-09 17:51:43 +01:00
Folkert
653741ccde
refactor llvm lowlevel code into its own file 2022-11-09 17:40:40 +01:00
Folkert
06a49e0255
use some macros 2022-11-09 17:40:39 +01:00
Folkert
14cd48fce7
Merge remote-tracking branch 'origin/main' into rust-1-62-1 2022-11-09 13:51:51 +01:00
Joshua Warner
1753c9cf5b
Implement initial tuple syntax 2022-11-08 18:04:46 -05:00
Ayaz Hafiz
6071ef9696
Update use of Error tag 2022-11-08 14:12:45 -06:00
Ayaz Hafiz
28c3709ddf
Miscellaneous cleanup 2022-11-08 14:11:26 -06:00
Ayaz Hafiz
1b38cd0504
s/Type::Erroneous/Type::Error 2022-11-08 14:11:26 -06:00
Ayaz Hafiz
c1237215ea
Remove type Problem enum 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
8dfc9c0367
Inline BadType::BadTypeArguments in canonicalization errors 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
98464984dd
Remove type problem bad type 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
fb643758bb
Remove Unified BadType 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
09748aec48
Remove problems from error type API surface 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
b6322ff883
Report empty problems in translating to error type 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
c4bd9fb79d
Remove problems from Subs 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
281bc94b55
Remove FlatType::Erroneous 2022-11-08 14:11:25 -06:00
Ayaz Hafiz
1974d8e848
Add comment on missing reporting 2022-11-08 14:11:24 -06:00
Ayaz Hafiz
fd80f5b70e
Remove problem in alias instantiation 2022-11-08 14:11:24 -06:00
Ayaz Hafiz
c9953129cb
Remove problem storage in Type::Erroneous 2022-11-08 14:11:24 -06:00
Ayaz
b984351514
Merge pull request #4489 from roc-lang/types-soa-more-in-solve
Types SoA for aliases instantiated during solving
2022-11-08 14:06:57 -06:00
Ayaz
8179e29bf8
Merge pull request #4486 from roc-lang/more-prep-constraining
Lift constraining expectation indices up a level
2022-11-08 13:47:57 -06:00
Folkert de Vries
95f8bac859
Merge pull request #4485 from roc-lang/types-soa
Types SoA and Type -> Variable conversion via SoA
2022-11-08 20:32:27 +01:00
Ayaz Hafiz
7034a4d692
Types SoA for aliases instantiated during solving 2022-11-08 12:57:30 -06:00