Commit 20fea08
authored
Nested record definitions (#7241)
* poc of nested record definitions
* tests
* fix reanalyze suggestions
* allow inline records in constrs
* basic inline printing of nested records
* update errors
* output
* make hovers a bit nicer
* refactor away the need for res.inlineRecordReference
* refactor away unecessary dot check
* refactor inline types context
* support type params
* add tests
* try disabling reanalyze
* remove file
* changelog
* comments
* remove reanalyze from ci1 parent a99dba1 commit 20fea08
File tree
35 files changed
+796
-199
lines changed- .github/workflows
- analysis/src
- compiler
- ml
- syntax/src
- tests
- analysis_tests
- tests-generic-jsx-transform
- tests-incremental-typechecking
- tests-reanalyze
- deadcode
- termination
- tests/src
- expected
- build_tests/super_errors
- expected
- fixtures
- syntax_tests/data/parsing/errors
- typeDef
- expected
- typexpr/expected
- tests/src
35 files changed
+796
-199
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | 112 | | |
115 | 113 | | |
116 | 114 | | |
| |||
191 | 189 | | |
192 | 190 | | |
193 | 191 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 192 | | |
199 | 193 | | |
200 | 194 | | |
| |||
305 | 299 | | |
306 | 300 | | |
307 | 301 | | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | 302 | | |
313 | 303 | | |
314 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
118 | 138 | | |
119 | 139 | | |
120 | 140 | | |
121 | 141 | | |
122 | | - | |
123 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
124 | 148 | | |
125 | 149 | | |
126 | 150 | | |
| |||
171 | 195 | | |
172 | 196 | | |
173 | 197 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
178 | 205 | | |
179 | 206 | | |
180 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1016 | 1016 | | |
1017 | 1017 | | |
1018 | 1018 | | |
| 1019 | + | |
1019 | 1020 | | |
1020 | 1021 | | |
1021 | 1022 | | |
| |||
4185 | 4186 | | |
4186 | 4187 | | |
4187 | 4188 | | |
| 4189 | + | |
4188 | 4190 | | |
4189 | 4191 | | |
4190 | 4192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
0 commit comments