Repository navigation
Commit d6d09d5
Remove legacy_include_path_in_required_reader_nodes feature flag
Summary:
The `path` field on `required` Reader AST nodes has been unused by the runtime for a long time. `ReaderRequiredField.path` is commented "This field is not used any more". `legacy_include_path_in_required_reader_nodes` existed so the field could be removed from generated artifacts gradually. The diffs below roll every www and xplat project to 0%, after which nothing sets the flag. This diff deletes the flag, and the compiler stops emitting `path` on `RequiredField` Reader nodes.
LAND ORDER: land after the www ramp stack (ends at D124273444) and the xplat ramp stack (ends at D124281529). `FeatureFlags` uses `deny_unknown_fields`, so a config that still sets the flag would fail to parse.
OSS: configs that set `legacy_include_path_in_required_reader_nodes` must drop it. The flag has defaulted to disabled, so artifacts don't change for anyone who never set it.
Reviewed By: voideanvalue
Differential Revision: D124284113
fbshipit-source-id: 4dd86be08b7c6b7ddc6cb6b424c8425d7735dc2f1 parent 5479346 commit d6d09d5
3 files changed
Lines changed: 2 additions & 34 deletions
File tree
- compiler/crates
- common/src
- relay-codegen/src
- relay-compiler
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | 218 | | |
227 | 219 | | |
228 | 220 | | |
| |||
337 | 329 | | |
338 | 330 | | |
339 | 331 | | |
340 | | - | |
341 | 332 | | |
342 | 333 | | |
343 | 334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
| 1323 | + | |
1324 | 1324 | | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
| 1327 | + | |
1341 | 1328 | | |
1342 | 1329 | | |
1343 | 1330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
787 | | - | |
788 | | - | |
789 | | - | |
790 | 783 | | |
791 | 784 | | |
792 | 785 | | |
| |||
1074 | 1067 | | |
1075 | 1068 | | |
1076 | 1069 | | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | 1070 | | |
1081 | 1071 | | |
1082 | 1072 | | |
| |||
0 commit comments