forked fromdotnet/fsharp
- Notifications
You must be signed in to change notification settings - Fork0
Commit5bfd9fc
[RFCs FS-1051, FS-1052, FS-1053] support for span, readonly refs, byref-like structs (dotnet#4888)
* initial support for span, readonly refs, byref-like structs* fix proto build* make proto work with previous FSharp.Core* make proto work with previous FSharp.Core* update baselines* integrate code cleanup* integrate code cleanup* integrate code cleanup* integrate code cleanup* fix build* fix build* implicit deref of byref returns* add tests for Memory, ReadOnlySpan and ReadOnlyMemory* fix tests* simplify diff* simplify diff* remove duplicate error messages* fix build* test updates* fix build* fix build* update baselines* fix uses of NativePtr.toByRef* switch to inference using byref pointer capabilities* fix proto build* update baselines, byref extension methods* fix test errors* emit in,out,modreq attributes correctly* update tests* fix build* fix build* fix tests* fix tests* get it right silly boy* fix test* minor cleanup* add more tests* clarify overloading behaviour + test case* fix build break* fix build of tests* update tests* add more tests* byref fixes* updates for subsumption calls, error message, assign-to-return-byref* test updates, implicit deref on byref return for normal functions* update baseline* improve debug formatting, better error message on implicit deref, improve error messages* add more tests for recursive functions* update baselines* fix baselines* updates for new test cases* updates for new test cases* test updates and byref-to-byreflike* deal with 'M() <- expr'* restrict addresses of immutable top-level things* fix IsByRefLike on struct* update tests* fix test* fix test* improve check for no-return-of-struct-field-addresses* fix test case1 parente21c296 commit5bfd9fc
File tree
90 files changed
+6856
-2747
lines changed- src
- absil
- buildfromsource/FSharp.Compiler.Private
- fsharp
- FSharp.Core
- service
- symbols
- xlf
- scripts
- tests
- FSharp.Core.UnitTests
- fsharpqa/Source/Conformance/InferenceProcedures/ByrefSafetyAnalysis
- fsharp
- core
- byrefs
- fsfromfsviacs
- fsiAndModifiers
- span
- typeProviders/helloWorld
- typecheck/sigs
- service
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
90 files changed
+6856
-2747
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | 226 | | |
228 | 227 | | |
229 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
568 | 569 | | |
569 | 570 | | |
570 | 571 | | |
571 | | - | |
| 572 | + | |
572 | 573 | | |
573 | 574 | | |
574 | 575 | | |
| |||
637 | 638 | | |
638 | 639 | | |
639 | 640 | | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
640 | 646 | | |
641 | 647 | | |
642 | 648 | | |
643 | | - | |
644 | | - | |
| 649 | + | |
645 | 650 | | |
646 | 651 | | |
647 | 652 | | |
| |||
671 | 676 | | |
672 | 677 | | |
673 | 678 | | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
674 | 683 | | |
675 | 684 | | |
676 | | - | |
| 685 | + | |
677 | 686 | | |
678 | 687 | | |
679 | 688 | | |
| |||
740 | 749 | | |
741 | 750 | | |
742 | 751 | | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
743 | 756 | | |
744 | 757 | | |
745 | 758 | | |
| |||
756 | 769 | | |
757 | 770 | | |
758 | 771 | | |
| 772 | + | |
759 | 773 | | |
760 | 774 | | |
761 | 775 | | |
| |||
783 | 797 | | |
784 | 798 | | |
785 | 799 | | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
786 | 804 | | |
787 | 805 | | |
788 | 806 | | |
789 | | - | |
| 807 | + | |
790 | 808 | | |
791 | 809 | | |
792 | 810 | | |
793 | 811 | | |
794 | 812 | | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
795 | 817 | | |
796 | 818 | | |
797 | | - | |
| 819 | + | |
798 | 820 | | |
799 | 821 | | |
800 | 822 | | |
801 | 823 | | |
802 | 824 | | |
803 | 825 | | |
804 | 826 | | |
805 | | - | |
| 827 | + | |
806 | 828 | | |
807 | 829 | | |
808 | 830 | | |
| |||
820 | 842 | | |
821 | 843 | | |
822 | 844 | | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
823 | 849 | | |
824 | 850 | | |
| 851 | + | |
825 | 852 | | |
826 | 853 | | |
827 | 854 | | |
| |||
832 | 859 | | |
833 | 860 | | |
834 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
835 | 866 | | |
836 | 867 | | |
837 | 868 | | |
| |||
865 | 896 | | |
866 | 897 | | |
867 | 898 | | |
| 899 | + | |
868 | 900 | | |
869 | 901 | | |
870 | 902 | | |
| |||
889 | 921 | | |
890 | 922 | | |
891 | 923 | | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
892 | 928 | | |
893 | 929 | | |
894 | 930 | | |
| |||
912 | 948 | | |
913 | 949 | | |
914 | 950 | | |
| 951 | + | |
915 | 952 | | |
916 | 953 | | |
917 | 954 | | |
918 | 955 | | |
919 | 956 | | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
920 | 961 | | |
921 | 962 | | |
922 | 963 | | |
| |||
1424 | 1465 | | |
1425 | 1466 | | |
1426 | 1467 | | |
| 1468 | + | |
| 1469 | + | |
1427 | 1470 | | |
1428 | 1471 | | |
1429 | 1472 | | |
| |||
1475 | 1518 | | |
1476 | 1519 | | |
1477 | 1520 | | |
| 1521 | + | |
1478 | 1522 | | |
1479 | 1523 | | |
1480 | 1524 | | |
| |||
1487 | 1531 | | |
1488 | 1532 | | |
1489 | 1533 | | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
1490 | 1538 | | |
1491 | 1539 | | |
1492 | 1540 | | |
| |||
1665 | 1713 | | |
1666 | 1714 | | |
1667 | 1715 | | |
1668 | | - | |
| 1716 | + | |
1669 | 1717 | | |
1670 | 1718 | | |
1671 | 1719 | | |
| |||
1695 | 1743 | | |
1696 | 1744 | | |
1697 | 1745 | | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
1698 | 1750 | | |
1699 | 1751 | | |
1700 | 1752 | | |
| |||
1705 | 1757 | | |
1706 | 1758 | | |
1707 | 1759 | | |
1708 | | - | |
| 1760 | + | |
1709 | 1761 | | |
1710 | 1762 | | |
1711 | 1763 | | |
| |||
1737 | 1789 | | |
1738 | 1790 | | |
1739 | 1791 | | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
| 1796 | + | |
1740 | 1797 | | |
1741 | 1798 | | |
1742 | 1799 | | |
| |||
2469 | 2526 | | |
2470 | 2527 | | |
2471 | 2528 | | |
2472 | | - | |
| 2529 | + | |
2473 | 2530 | | |
2474 | 2531 | | |
2475 | 2532 | | |
| |||
2514 | 2571 | | |
2515 | 2572 | | |
2516 | 2573 | | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
2517 | 2579 | | |
2518 | 2580 | | |
2519 | 2581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
799 | 801 | | |
800 | 802 | | |
801 | 803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
138 | 141 | | |
139 | 142 | | |
140 | 143 | | |
| |||
263 | 266 | | |
264 | 267 | | |
265 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
266 | 273 | | |
267 | 274 | | |
268 | 275 | | |
| |||
0 commit comments
Comments
(0)