Commit 4a0fc41
Fix CI failures from signature roundtrip changes
- NicePrint: null-safe typar name handling in layoutTyparRef to avoid
NRE when rendering anonymous typars during overload resolution.
- NicePrint: deduplicate SRTP constraints in layoutNonMemberVal so they
appear only in typar decl brackets, not duplicated in the postfix
'when' clause.
- PrettyNaming: revert active-pattern case backtick escaping from
ConvertValLogicalNameToDisplayNameCore (which is also used by
tryParseActivePatternName parsing path). Apply backtick escaping only
at final display layer via new escapeActivePatternCaseNames helper in
ConvertValLogicalNameToDisplayName and ConvertValLogicalNameToDisplayLayout.
- Update IWSAMsAndSRTPs signature test expectations to match new
val inline f<^T ...> : ... format.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 53b9e61 commit 4a0fc41
File tree
3 files changed
+45
-26
lines changed- src/Compiler
- Checking
- SyntaxTree
- tests/FSharp.Compiler.ComponentTests/Conformance/Types/TypeConstraints/IWSAMsAndSRTPs
3 files changed
+45
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
734 | 739 | | |
735 | 740 | | |
736 | 741 | | |
| |||
1502 | 1507 | | |
1503 | 1508 | | |
1504 | 1509 | | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
1505 | 1519 | | |
1506 | 1520 | | |
1507 | 1521 | | |
| |||
1535 | 1549 | | |
1536 | 1550 | | |
1537 | 1551 | | |
1538 | | - | |
1539 | | - | |
1540 | | - | |
1541 | 1552 | | |
1542 | 1553 | | |
1543 | 1554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
| 504 | + | |
518 | 505 | | |
519 | 506 | | |
520 | 507 | | |
521 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
522 | 527 | | |
523 | 528 | | |
524 | 529 | | |
| |||
558 | 563 | | |
559 | 564 | | |
560 | 565 | | |
561 | | - | |
| 566 | + | |
562 | 567 | | |
| 568 | + | |
563 | 569 | | |
564 | 570 | | |
565 | 571 | | |
| |||
585 | 591 | | |
586 | 592 | | |
587 | 593 | | |
| 594 | + | |
| 595 | + | |
588 | 596 | | |
589 | 597 | | |
590 | 598 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
0 commit comments