Ayaz Hafiz
|
c9e8f6130b
|
Cleanup constrain_def_make_constraint
|
2022-05-11 19:28:39 -04:00 |
|
Ayaz Hafiz
|
1609a1a48b
|
Add some comments and tests showing why recursive defs are constrained this way
|
2022-05-11 19:16:10 -04:00 |
|
Ayaz Hafiz
|
697f5f7a86
|
Check in ignored tests
|
2022-05-11 18:12:37 -04:00 |
|
Ayaz
|
d485869954
|
Merge pull request #3039 from rtfeldman/specializations-at-the-front
Opportunistically resolve specializations during solving
|
2022-05-11 13:42:19 -04:00 |
|
Ayaz Hafiz
|
7420276116
|
Avoid an allocation
|
2022-05-11 11:20:17 -04:00 |
|
Richard Feldman
|
8da0e219b9
|
Merge pull request #3049 from rtfeldman/clippy-for-tests
clippy --tests
|
2022-05-11 10:52:00 -04:00 |
|
Richard Feldman
|
b9c07aef27
|
Use internal_error over unreachable
|
2022-05-11 10:51:27 -04:00 |
|
Ayaz Hafiz
|
d0c6c06ca1
|
Remove KnownSizeIterator
|
2022-05-11 09:06:25 -04:00 |
|
Ayaz Hafiz
|
13441a0243
|
Revert "Known-size iterator"
This reverts commit f07c56a25d .
|
2022-05-11 08:59:12 -04:00 |
|
Ayaz Hafiz
|
49c61a6f4a
|
Fix ignored field
|
2022-05-11 08:56:04 -04:00 |
|
Ayaz Hafiz
|
eca069bb4a
|
Test static specializations
|
2022-05-11 08:53:41 -04:00 |
|
Ayaz Hafiz
|
afb1f826b1
|
Correct walking of even specialized symbols in mono
|
2022-05-11 08:53:16 -04:00 |
|
Ayaz Hafiz
|
da00c47102
|
Opportunistically resolve specializations during solving
|
2022-05-11 08:53:15 -04:00 |
|
Ayaz Hafiz
|
f07c56a25d
|
Known-size iterator
|
2022-05-11 08:52:49 -04:00 |
|
Ayaz Hafiz
|
619d9aa8b3
|
Decrease specialization ID size
|
2022-05-11 08:52:49 -04:00 |
|
Ayaz Hafiz
|
bdccda6cfb
|
Add some debug-assertions regarding what we know about specializations
|
2022-05-11 08:52:48 -04:00 |
|
Folkert de Vries
|
b2e045bf9a
|
Merge pull request #3042 from rtfeldman/specialization-under-let
Lift mono of let-bindings to separate function
|
2022-05-11 14:50:40 +02:00 |
|
Richard Feldman
|
49bf36ec09
|
Merge remote-tracking branch 'origin/trunk' into clippy-for-tests
|
2022-05-10 19:27:45 -04:00 |
|
Richard Feldman
|
11e2faa87a
|
Merge pull request #3050 from rtfeldman/bindgen-tag-payloads
Bindgen single-tag unions
|
2022-05-10 19:27:25 -04:00 |
|
Richard Feldman
|
5970e16a6b
|
cargo fmt
|
2022-05-10 19:26:48 -04:00 |
|
Richard Feldman
|
f386edc54a
|
don't say pi = 1.23
|
2022-05-10 15:25:46 -04:00 |
|
Richard Feldman
|
fd40fed937
|
Fix a bunch of errors from clippy --tests
|
2022-05-10 15:21:48 -04:00 |
|
Richard Feldman
|
a7ed288b56
|
Add some safety comments for clippy
|
2022-05-10 15:21:47 -04:00 |
|
Folkert de Vries
|
89c6f55288
|
Merge pull request #3048 from rtfeldman/i/2389
Type solving paper cuts
|
2022-05-10 20:45:45 +02:00 |
|
Richard Feldman
|
496b4b8857
|
Merge pull request #3044 from rtfeldman/bindgen-tags
Bindgen tag unions into Rust enums
|
2022-05-10 14:39:27 -04:00 |
|
Ayaz Hafiz
|
62ebb80f09
|
Handle recursion through Apply s with errors
Closes #219
|
2022-05-10 12:58:14 -04:00 |
|
Folkert
|
a9bee7f564
|
only run min/max test on wasm/llvm; dev backend doesn't implement them
|
2022-05-10 18:33:00 +02:00 |
|
Ayaz Hafiz
|
4339d50480
|
Improve cycle error message
Closes #2513
|
2022-05-10 12:11:32 -04:00 |
|
Ayaz Hafiz
|
1fb6718c00
|
Improve error type context field name
|
2022-05-10 11:32:45 -04:00 |
|
Ayaz Hafiz
|
3ddb14184d
|
Move dead code removal
|
2022-05-10 11:29:10 -04:00 |
|
Ayaz Hafiz
|
a9507cf917
|
Consolidate variable pretty printing
|
2022-05-10 11:24:41 -04:00 |
|
Ayaz Hafiz
|
3de35f7aa2
|
Loosen recursion var rank restriction in presence of errors
|
2022-05-10 11:15:21 -04:00 |
|
Ayaz Hafiz
|
3497237c99
|
Print recursion vars correctly
|
2022-05-10 10:40:37 -04:00 |
|
Ayaz Hafiz
|
7306e131b9
|
Add test for resolved issue
Closes #2371
|
2022-05-10 09:42:35 -04:00 |
|
Ayaz Hafiz
|
32814cbb37
|
Add test for resolved bug
Closes #2389
|
2022-05-10 09:29:28 -04:00 |
|
Ayaz Hafiz
|
029fbb372b
|
Fix gen test
|
2022-05-10 09:24:16 -04:00 |
|
Richard Feldman
|
8453b233bc
|
Fix test
|
2022-05-10 08:40:33 -04:00 |
|
Folkert
|
ff48bf0899
|
min/max abs tests
|
2022-05-10 13:23:57 +02:00 |
|
Richard Feldman
|
2db527888b
|
Drop unnecessary parens
|
2022-05-09 22:31:29 -04:00 |
|
Richard Feldman
|
64065a5019
|
Add UnionTags::iter_from_subs
|
2022-05-09 22:29:11 -04:00 |
|
Folkert
|
96bf75469a
|
formatting
|
2022-05-10 00:48:57 +02:00 |
|
Richard Feldman
|
1649680fbd
|
Share sorting code between bindgen and code gen
|
2022-05-09 18:42:38 -04:00 |
|
Richard Feldman
|
3ce0fc59d4
|
Remove a continue `
|
2022-05-09 18:42:37 -04:00 |
|
Richard Feldman
|
b174ea9ab0
|
Extract cmp_fields function
|
2022-05-09 18:42:37 -04:00 |
|
Richard Feldman
|
2f2230a9f3
|
Avoid an intermediate vector in some cases
|
2022-05-09 18:42:37 -04:00 |
|
Richard Feldman
|
e86ef8d1ca
|
Make a lifetime more explicit
|
2022-05-09 18:42:37 -04:00 |
|
Folkert
|
7461bbcd87
|
fix load tests
|
2022-05-09 23:07:54 +02:00 |
|
Folkert
|
5cd36a3c26
|
add tests for the new min/max constants
|
2022-05-09 22:56:54 +02:00 |
|
Folkert
|
f77e559c6f
|
replace maxFloat with maxF64
|
2022-05-09 22:56:30 +02:00 |
|
Folkert
|
8c4b574e48
|
remove type def for maxFloat; could only be used by expr2, and it isn't so this is safe
|
2022-05-09 22:56:09 +02:00 |
|