Commit ea8af47
Consolidate and share logic for Records and AnonymousRecords (#2750)
* Remove AnonRecordFieldNode
* Consolidate a lot of logic
Introduce active pattern to join implementation for Record & AnonRecords
Consolidate some more logic to fix an edge case
Consolidate a bit more
Remove unintentional change, cleanup
Refactor to remove active pattern
* Add ExprCopyableRecordNode subclass to better separate concerns
* Clean up a bit
* Remove a type, rename some others
* Inline some one-off functions
* Format CodePrinter.fs
* Add some additional XML documentation.
---------
Co-authored-by: nojaf <[email protected]>1 parent 9681ea5 commit ea8af47
File tree
6 files changed
+306
-248
lines changed- src
- Fantomas.Core.Tests
- Fantomas.Core
6 files changed
+306
-248
lines changedLines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
659 | 694 | | |
660 | 695 | | |
661 | 696 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
952 | 952 | | |
953 | 953 | | |
954 | 954 | | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | 955 | | |
964 | 956 | | |
965 | 957 | | |
| |||
968 | 960 | | |
969 | 961 | | |
970 | 962 | | |
971 | | - | |
972 | | - | |
973 | | - | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
974 | 979 | | |
975 | 980 | | |
976 | 981 | | |
977 | 982 | | |
978 | 983 | | |
979 | | - | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
980 | 989 | | |
981 | 990 | | |
982 | 991 | | |
983 | 992 | | |
984 | | - | |
| 993 | + | |
985 | 994 | | |
986 | 995 | | |
987 | 996 | | |
| |||
0 commit comments