Richard Feldman
|
c894d522c3
|
Drop some commented-out lines
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
|
2022-10-26 22:48:37 -04:00 |
|
Ayaz Hafiz
|
89867a4dc5
|
Add parsing error reporting for list patterns
|
2022-10-26 18:05:52 -05:00 |
|
Ayaz Hafiz
|
9bb523ce97
|
Format list patterns
|
2022-10-26 17:08:10 -05:00 |
|
Ayaz Hafiz
|
4d35ab9957
|
Parse list patterns
|
2022-10-26 17:03:22 -05:00 |
|
Folkert de Vries
|
02a76bb8bd
|
Merge pull request #4399 from roc-lang/no-types-in-constraining-api
Have most constraining APIs take a type index rather than `Type`
|
2022-10-26 19:45:55 +02:00 |
|
Ayaz
|
316ae7d30b
|
Merge pull request #4398 from roc-lang/emplace-type-variables
Leave variables behind when converting `Type`s to variables
|
2022-10-26 12:41:55 -05:00 |
|
Richard Feldman
|
9bb45f5856
|
Merge pull request #4381 from roc-lang/windows-rust-platforms
Windows rust platforms
|
2022-10-24 18:27:26 -07:00 |
|
Ayaz Hafiz
|
a4d7ee33c1
|
Apply lints
|
2022-10-24 18:23:36 -05:00 |
|
Ayaz Hafiz
|
084393c326
|
store_index is now redundant
|
2022-10-24 18:21:05 -05:00 |
|
Ayaz Hafiz
|
bff3d534f6
|
Store expects type index
|
2022-10-24 18:20:18 -05:00 |
|
Ayaz Hafiz
|
278754506f
|
lookup expects type index
|
2022-10-24 18:14:28 -05:00 |
|
Ayaz Hafiz
|
97d47cc05f
|
includes_tag expects type index
|
2022-10-24 18:08:45 -05:00 |
|
Ayaz Hafiz
|
556222caa1
|
is_open_type expects type index
|
2022-10-24 17:51:39 -05:00 |
|
Ayaz Hafiz
|
0f0c02965a
|
pattern_presence expects type index
|
2022-10-24 17:49:02 -05:00 |
|
Ayaz Hafiz
|
0990eda0cb
|
equal_pattern_types takes type index
|
2022-10-24 17:41:13 -05:00 |
|
Ayaz Hafiz
|
c53e08f63c
|
equal_types_with_storage takes type index
|
2022-10-24 17:35:09 -05:00 |
|
Ayaz Hafiz
|
cca5f53e98
|
equal_types_var requires a type index
|
2022-10-24 17:30:04 -05:00 |
|
Ayaz Hafiz
|
91eb9aaea4
|
Rename variables
|
2022-10-24 14:30:50 -05:00 |
|
Ayaz Hafiz
|
83e35fa40d
|
Get rid of another clone
|
2022-10-24 14:29:05 -05:00 |
|
Ayaz Hafiz
|
0b8ac07287
|
Get rid of more type clones
|
2022-10-24 14:25:19 -05:00 |
|
Ayaz Hafiz
|
7c3fe5bc44
|
Remove some type clones
|
2022-10-24 14:11:53 -05:00 |
|
Ayaz Hafiz
|
55d7f3f658
|
Require type and expected indices in equal_types constraints
|
2022-10-24 14:05:19 -05:00 |
|
Ayaz Hafiz
|
1f498b52d5
|
Better name solve test
|
2022-10-24 14:02:38 -05:00 |
|
Ayaz Hafiz
|
fc6f7d2613
|
Basic support for multi-ability docs
|
2022-10-24 14:00:46 -05:00 |
|
Ayaz Hafiz
|
1053c11907
|
Basic formatting of multi-abilities
|
2022-10-24 14:00:46 -05:00 |
|
Ayaz Hafiz
|
0642952d05
|
Remove some resolved todos
|
2022-10-24 14:00:46 -05:00 |
|
Ayaz Hafiz
|
66e75b8660
|
Simplify instantiation of bound able variables in non-delayed aliases
|
2022-10-24 14:00:46 -05:00 |
|
Ayaz Hafiz
|
3f5a86ded3
|
Update ability bindings
|
2022-10-24 14:00:46 -05:00 |
|
Ayaz Hafiz
|
0da72df5e9
|
Add ability slice to eq obligation checker
|
2022-10-24 14:00:46 -05:00 |
|
Ayaz Hafiz
|
c0257302a9
|
Address clippy lints
|
2022-10-24 14:00:45 -05:00 |
|
Ayaz Hafiz
|
152400dea3
|
Add gen test for multiple ability bounds
|
2022-10-24 14:00:45 -05:00 |
|
Ayaz Hafiz
|
3bd10698cf
|
Allow rigid able to unify with flex able when rigid bounds are a superset
|
2022-10-24 14:00:45 -05:00 |
|
Ayaz Hafiz
|
0a96a93a67
|
Add test for inferring multiple ability bounds
|
2022-10-24 14:00:44 -05:00 |
|
Ayaz Hafiz
|
46b741e9dd
|
Correctly clone able vars across subs
|
2022-10-24 13:59:52 -05:00 |
|
Ayaz Hafiz
|
9c88534758
|
Obligation checking layers on extra abilities bound to a variable
|
2022-10-24 13:59:52 -05:00 |
|
Ayaz Hafiz
|
db7fe48d1c
|
Merge muliple abilities bound to flex var
|
2022-10-24 13:59:52 -05:00 |
|
Ayaz Hafiz
|
49e19d96e5
|
Print multiple abilities in error types
|
2022-10-24 13:59:52 -05:00 |
|
Ayaz Hafiz
|
94fc58a508
|
Pretty-print variables bound to multiple abilities
|
2022-10-24 13:59:52 -05:00 |
|
Ayaz Hafiz
|
4541b41f7b
|
Revert VecSet-related changes
|
2022-10-24 13:59:51 -05:00 |
|
Ayaz Hafiz
|
1e6181d2cb
|
New data structure for storing sorted abilities bound to a variable
|
2022-10-24 13:59:51 -05:00 |
|
Ayaz Hafiz
|
229548571b
|
Represent "able" variables with slices of abilities
|
2022-10-24 13:59:51 -05:00 |
|
Ayaz Hafiz
|
0f0678ce73
|
s/closure_names/symbol_names/g in subs
|
2022-10-24 13:59:51 -05:00 |
|
Ayaz Hafiz
|
2011ec97c3
|
Store multiple abilities as a VecSet
|
2022-10-24 13:59:51 -05:00 |
|
Ayaz Hafiz
|
603160dae3
|
Report errors for duplicate bound abilities
|
2022-10-24 13:59:50 -05:00 |
|
Ayaz Hafiz
|
231a72f2ee
|
Insert first ability correctly in the parser
|
2022-10-24 13:56:07 -05:00 |
|
Ayaz Hafiz
|
6bb97c92b9
|
Canonicalize multiple abilities bound to a type variable
|
2022-10-24 13:56:07 -05:00 |
|
Ayaz Hafiz
|
97dbac1631
|
Add tests for multiple abilities bound to a variable
|
2022-10-24 13:56:07 -05:00 |
|
Ayaz Hafiz
|
548a235c25
|
Support parsing multiple abilities in a clause
|
2022-10-24 13:56:06 -05:00 |
|
Ayaz
|
89f14e73a0
|
Merge pull request #4358 from roc-lang/derive-opaque-defs
Auto-derive ability implementations for opaques in canonicalization
|
2022-10-24 13:24:51 -05:00 |
|
Ayaz Hafiz
|
35a4781045
|
Get rid of redundant references
|
2022-10-24 13:13:08 -05:00 |
|