Commit graph

2306 commits

Author SHA1 Message Date
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
Richard Feldman
6486591201
Merge pull request #4462 from lukewilliamboswell/rust-docs
Rust docs update #2
2022-11-08 09:35:04 -08:00
Ayaz Hafiz
51d813dae2
Index into constraining via trait 2022-11-08 09:00:51 -06:00
Ayaz Hafiz
24b6d4a3a9
constrain_pattern takes an expected index 2022-11-08 09:00:51 -06:00
Ayaz Hafiz
b85465d74d
Resolve runtime error todo 2022-11-08 09:00:51 -06:00
Ayaz Hafiz
f0534fc770
Remove TODO comment 2022-11-08 09:00:51 -06:00
Ayaz Hafiz
b71fef5f3b
Resolve ability member todo 2022-11-08 09:00:51 -06:00
Ayaz Hafiz
c76a928ed4
Remove var storage TODO 2022-11-08 09:00:51 -06:00
Ayaz Hafiz
4f40d83b80
Remove _inner migration helper 2022-11-08 09:00:50 -06:00
Ayaz Hafiz
d84e98751e
Always feed ExpectedTypeIndex to expr constraining 2022-11-08 09:00:50 -06:00
Ayaz Hafiz
4e2eb67ff1
Surface constrain_expr takes an index 2022-11-08 09:00:50 -06:00
Ayaz Hafiz
b0bcda4117
typo 2022-11-08 09:00:25 -06:00
Ayaz Hafiz
db8e135a05
Simplify AbilitySet storage 2022-11-08 09:00:25 -06:00
Ayaz Hafiz
191798cfd6
Address clippy 2022-11-08 09:00:25 -06:00
Ayaz Hafiz
b735188542
Life is short, no need to spell it out 2022-11-08 09:00:25 -06:00
Ayaz Hafiz
b7af241538
Address clippy for Types 2022-11-08 09:00:25 -06:00
Ayaz Hafiz
09ec545995
Fix indent 2022-11-08 09:00:25 -06:00
Ayaz Hafiz
e240b18b27
Recover Erroneous in type 2022-11-08 09:00:25 -06:00
Ayaz Hafiz
58020a55d6
Type to variable through Types SoA 2022-11-08 09:00:24 -06:00
Ayaz Hafiz
5da11d7fdd
Index into Types 2022-11-08 09:00:24 -06:00