Repository navigation
Commit 62e50ff
* WIP 215: Record<string, T> is a dictionary of T (built-in Record and a mapped type of string keys)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: a union of tuples cast to one of them (a member lacking its elements throws), indexed at a common element; a missing tuple element is an error, not a silent failure
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: Array members of a union of tuples read the member it holds, own copies a tuple's strings for its array, union-of-shapes tests read the union's tag (no leaked box)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: TSLANG_ISSUES 215
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: spread of a union of tuples, the run-time throw only for tuples of elements, TSLANG_ISSUES measurements
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: rc gives back a new array a method is called on, own a spread literal given to a call, a union of tuples iterated and read at a run-time index
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: -mm=own reads @owned as rc does (a declaration that lends its result excepted)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: -mm=own takes an @owned declaration's result for the caller's own (a new value, not a part of what the call was given)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: TSLANG_ISSUES: own reads @owned results as fresh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: a union of tuples cast to a longer member fills the elements a shorter one lacks (user ruling); none to fill them with is a compile error
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* WIP 215: a Record result type read elsewhere, a Record constraint met by any object, keyof of a dictionary is string; verifier skips the fill tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c804daf commit 62e50ff
17 files changed
Lines changed: 1176 additions & 76 deletions
File tree
- tslang
- include/TypeScript
- lib/TypeScript
- test/tester
- owned-declarations
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4006 | 4006 | | |
4007 | 4007 | | |
4008 | 4008 | | |
| 4009 | + | |
| 4010 | + | |
| 4011 | + | |
| 4012 | + | |
| 4013 | + | |
| 4014 | + | |
| 4015 | + | |
| 4016 | + | |
| 4017 | + | |
| 4018 | + | |
| 4019 | + | |
| 4020 | + | |
| 4021 | + | |
| 4022 | + | |
| 4023 | + | |
| 4024 | + | |
| 4025 | + | |
| 4026 | + | |
| 4027 | + | |
| 4028 | + | |
| 4029 | + | |
| 4030 | + | |
| 4031 | + | |
| 4032 | + | |
| 4033 | + | |
| 4034 | + | |
| 4035 | + | |
| 4036 | + | |
| 4037 | + | |
| 4038 | + | |
| 4039 | + | |
| 4040 | + | |
| 4041 | + | |
| 4042 | + | |
| 4043 | + | |
| 4044 | + | |
| 4045 | + | |
| 4046 | + | |
| 4047 | + | |
| 4048 | + | |
| 4049 | + | |
| 4050 | + | |
| 4051 | + | |
| 4052 | + | |
| 4053 | + | |
| 4054 | + | |
| 4055 | + | |
| 4056 | + | |
| 4057 | + | |
| 4058 | + | |
| 4059 | + | |
| 4060 | + | |
| 4061 | + | |
| 4062 | + | |
| 4063 | + | |
| 4064 | + | |
| 4065 | + | |
| 4066 | + | |
| 4067 | + | |
| 4068 | + | |
| 4069 | + | |
| 4070 | + | |
| 4071 | + | |
| 4072 | + | |
| 4073 | + | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
| 4077 | + | |
| 4078 | + | |
| 4079 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | | - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
515 | 517 | | |
516 | 518 | | |
517 | 519 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
562 | 577 | | |
563 | 578 | | |
564 | 579 | | |
| |||
704 | 719 | | |
705 | 720 | | |
706 | 721 | | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
707 | 743 | | |
708 | 744 | | |
709 | 745 | | |
| |||
1763 | 1799 | | |
1764 | 1800 | | |
1765 | 1801 | | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
| 1812 | + | |
| 1813 | + | |
| 1814 | + | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
1766 | 1856 | | |
1767 | 1857 | | |
1768 | 1858 | | |
| |||
1792 | 1882 | | |
1793 | 1883 | | |
1794 | 1884 | | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
1795 | 1899 | | |
1796 | 1900 | | |
1797 | 1901 | | |
| |||
4119 | 4223 | | |
4120 | 4224 | | |
4121 | 4225 | | |
4122 | | - | |
| 4226 | + | |
| 4227 | + | |
4123 | 4228 | | |
4124 | 4229 | | |
4125 | 4230 | | |
4126 | 4231 | | |
4127 | | - | |
| 4232 | + | |
| 4233 | + | |
| 4234 | + | |
| 4235 | + | |
| 4236 | + | |
| 4237 | + | |
| 4238 | + | |
| 4239 | + | |
| 4240 | + | |
4128 | 4241 | | |
4129 | 4242 | | |
4130 | 4243 | | |
| |||
4191 | 4304 | | |
4192 | 4305 | | |
4193 | 4306 | | |
| 4307 | + | |
| 4308 | + | |
| 4309 | + | |
| 4310 | + | |
| 4311 | + | |
4194 | 4312 | | |
4195 | 4313 | | |
4196 | 4314 | | |
| |||
0 commit comments