Commit graph

8277 commits

Author SHA1 Message Date
Ayaz Hafiz
71a5471bec
Remove private tags from Set 2022-04-25 10:59:12 -04:00
Ayaz Hafiz
be56cdf782
Remove private tags from Str 2022-04-25 10:59:12 -04:00
Ayaz Hafiz
1856b32d7c
Remove private tags from List 2022-04-25 10:59:11 -04:00
Ayaz Hafiz
abd454276d
Remove private tags from Result
This matches the actual definition
2022-04-25 10:59:11 -04:00
Ayaz Hafiz
6e7a8f2d3e
Remove private tags from test-gen 2022-04-25 10:59:11 -04:00
Folkert
f7c110dbc1
comments + renames 2022-04-25 16:34:47 +02:00
Folkert de Vries
b5e71f0356
Merge pull request #2903 from rtfeldman/fix-when-branch-solving
Fix when branch solving
2022-04-24 23:54:40 +02:00
Folkert
3ec3976781
fix issue with wrong alias being used for instantiation 2022-04-24 22:08:11 +02:00
Richard Feldman
62fd191643
Merge pull request #2947 from rtfeldman/format-trailing-multiline-lambda-arg
Formatter: allow single-line function call ending with multi-line lambda
2022-04-24 15:41:42 -04:00
Ayaz
4dace9b5e9
Merge pull request #2944 from rtfeldman/joshuawarner32/allow-parsing-if-in-expr
Allow parsing `if` as part of the right-hand-side of a binary expression
2022-04-24 15:23:10 -04:00
Sean Hagstrom
1227f9f404 fix(formatter): fix potential panic when subtracting from usize 2022-04-24 19:58:12 +01:00
Folkert
cde4bd3ce0
fix spelling 2022-04-24 20:09:28 +02:00
Folkert
c9426e2ed2
fix alias instantiation problem 2022-04-24 20:08:12 +02:00
Sean Hagstrom
477ed3c5e8 feat(formatter): allow single-line function call ending with multi-line lambda 2022-04-24 18:55:57 +01:00
Folkert
01dfda29b0
fix test by swapping definition order 2022-04-24 19:47:55 +02:00
Richard Feldman
6e642a6fca
fix typo 2022-04-24 13:22:41 -04:00
Richard Feldman
4cff72eccc
Merge pull request #2942 from rtfeldman/outdent-formatting-list-and-records
Outdent formatting for multiline records and lists
2022-04-24 13:20:59 -04:00
Folkert
054907a4cb
clean up sorting code 2022-04-24 19:06:08 +02:00
Joshua Warner
b1e3913041 Allow parsing if as part of the right-hand-side of a binary expression 2022-04-24 09:56:53 -07:00
Folkert
0aa7cb8479
cleanup 2022-04-24 18:46:16 +02:00
Folkert
c5f433ab94
do our sorting using just SSCs 2022-04-24 18:39:29 +02:00
Ayaz
64ed7eea95
Merge branch 'trunk' into fix-when-branch-solving 2022-04-24 12:19:22 -04:00
Folkert de Vries
c02eaf7561
Merge pull request #2921 from rtfeldman/gather-reference-matrix
construct reference matrix on the fly
2022-04-24 18:17:33 +02:00
Sean Hagstrom
b147890b08 feat(formatter): implement outdent formatting for multiline lists and records 2022-04-24 16:52:02 +01:00
Folkert
6b0c4b5df0
remove some usize -> u32 casts 2022-04-24 17:41:01 +02:00
Folkert
da9899e7bb
use a bitvec-based approach to return the SCCs 2022-04-24 17:36:40 +02:00
Folkert
3d9cda57cc
moe the others over 2022-04-24 17:28:46 +02:00
Folkert
62a80db379
move correct_mutual_recursive_type_alias over 2022-04-24 17:21:52 +02:00
Folkert
0569d23385
add rows helper for Sccs 2022-04-24 17:10:28 +02:00
Folkert
b8db6aae8d
use bitvec to return SCCs 2022-04-24 16:51:51 +02:00
Ayaz Hafiz
f94d91b8ab
Fix region and save an alloc 2022-04-24 10:25:32 -04:00
Ayaz Hafiz
cd89902e7a
Smarter about region calculation 2022-04-24 10:19:47 -04:00
Folkert
a7e781ece2
simplify earlier topological sort of abilities/aliases 2022-04-24 16:19:31 +02:00
Folkert
0f4a5bdd74
rename 2022-04-24 15:46:17 +02:00
Folkert
d22a4711d4
use VecMap to store aliases 2022-04-24 15:37:44 +02:00
Folkert
cf89dd7f84
finetuning some comments 2022-04-24 13:50:47 +02:00
Folkert
dbae805071
minor cleanup to recursive alias creation 2022-04-24 13:43:04 +02:00
Folkert
912d9db293
use one fewer bitvec 2022-04-24 13:23:17 +02:00
Folkert
e5afb156eb
fix comment 2022-04-24 13:15:35 +02:00
Richard Feldman
d9a16ff5b2
Merge pull request #2927 from rtfeldman/upgrade-target-lexicon
Upgrade target-lexicon
2022-04-23 22:09:58 -04:00
Richard Feldman
57b7832917
Upgrade target-lexicon 2022-04-23 20:51:57 -04:00
Folkert
452447232f
bitvec all the things 2022-04-24 02:18:43 +02:00
Folkert
b0ceaf0372
instantiate aliases with a function 2022-04-24 01:04:59 +02:00
Folkert
f7010336bb
use vecs more 2022-04-24 00:16:26 +02:00
Folkert
a556cccb1e
populate the matrix 2022-04-23 23:54:05 +02:00
Folkert
5c992e49d9
rust is hard sometimes 2022-04-23 23:33:28 +02:00
Folkert
747ff262e0
stop wrapping in an Option 2022-04-23 23:09:50 +02:00
Folkert
020029138e
stop always returning an empty output 2022-04-23 23:02:34 +02:00
Folkert
1f824f3664
track exactly when we introduce a symbol in a let-block 2022-04-23 23:00:20 +02:00
Folkert
c9d422335f
inline function 2022-04-23 22:15:09 +02:00