forked fromdotnet/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commit8da7286
Lot's of small improvements for ConstraintSolver (dotnet#2279)
* formatting* rec not needed* Use a set for lookup* formatting* formatting* Use reduce instead of fold* Use tryAnyParTy* Check isUnitParMeasure* Use HashSet instead of Set* Cleanup* cleanup* cleanup* cleanup* tryDestTyparTy* revert cleanup as requested* More tryDestTyparTy* Cleanup* Cleanup* tryDestFunTy* Using tryDestAppTy* cleanup* Use a set* cleanup* Cleanup* Cleanup* we don't need to check for [],[] twice* tryFullDestAppTy* More tryFullDestAppTy* More tryFullDestAppTy* tryDestAppTy* Simplify the pattern a bit* cleanup* cleanup* Revert "we don't need to check for [],[] twice"This reverts commitdd628c6.* Revert "Simplify the pattern a bit"This reverts commitc54e75f.* use AppTy active pattern* Pattern matching is cool* Use AppTy* Using tryDestAppTy a lot more* tryDestAppTy* cleanup* remove comment - it doesn't refactor* Cleanup* We don't that additional int* Cleanup* Add assert for destArrayTy and destListTy -fixesdotnet#2435* cleanup* directly use TType_app* be more strict in destByrefTy and co* be more strict in destByrefTy and co* revert removed braces* small cleanup* We don't need to do all these searches if we can't find a name* Don't call the searched 3 times* Use pattern matching instead of Length on a list* cleanup1 parent2eb9a96 commit8da7286
File tree
12 files changed
+790
-733
lines changed- src/fsharp
- vs
12 files changed
+790
-733
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1068 | 1068 | | |
1069 | 1069 | | |
1070 | 1070 | | |
1071 | | - | |
| 1071 | + | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
495 | 498 | | |
496 | 499 | | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
500 | 503 | | |
501 | | - | |
| 504 | + | |
502 | 505 | | |
503 | 506 | | |
504 | | - | |
505 | 507 | | |
506 | 508 | | |
507 | 509 | | |
508 | 510 | | |
509 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
510 | 516 | | |
511 | | - | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
512 | 525 | | |
513 | 526 | | |
514 | 527 | | |
515 | | - | |
516 | | - | |
| 528 | + | |
| 529 | + | |
517 | 530 | | |
518 | 531 | | |
519 | 532 | | |
520 | 533 | | |
521 | 534 | | |
522 | 535 | | |
523 | 536 | | |
524 | | - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
525 | 541 | | |
526 | 542 | | |
527 | 543 | | |
| |||
540 | 556 | | |
541 | 557 | | |
542 | 558 | | |
543 | | - | |
| 559 | + | |
544 | 560 | | |
545 | 561 | | |
546 | 562 | | |
547 | 563 | | |
548 | 564 | | |
549 | | - | |
| 565 | + | |
550 | 566 | | |
551 | 567 | | |
552 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
148 | | - | |
149 | | - | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
154 | | - | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
| 654 | + | |
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
| |||
660 | 660 | | |
661 | 661 | | |
662 | 662 | | |
663 | | - | |
664 | | - | |
| 663 | + | |
665 | 664 | | |
666 | 665 | | |
667 | 666 | | |
| |||
1034 | 1033 | | |
1035 | 1034 | | |
1036 | 1035 | | |
1037 | | - | |
| 1036 | + | |
1038 | 1037 | | |
1039 | 1038 | | |
1040 | 1039 | | |
| |||
1178 | 1177 | | |
1179 | 1178 | | |
1180 | 1179 | | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
1187 | 1184 | | |
1188 | 1185 | | |
1189 | 1186 | | |
| |||
1278 | 1275 | | |
1279 | 1276 | | |
1280 | 1277 | | |
1281 | | - | |
1282 | | - | |
1283 | | - | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1284 | 1282 | | |
1285 | 1283 | | |
1286 | 1284 | | |
| |||
0 commit comments
Comments
(0)