This repository was archived by the owner on Dec 1, 2024. It is now read-only.
Commit 2339345
authored
Random bug fixes (#542)
* Document bug comparison empty statements
The operators `<=` and `>=` should be treated as empty.
They are currently treated as assignments.
* Fix false negative, `<=` and `>=` in NoEmptyStatementsLinter
* Document bug NodeList::getChildrenOfItemsOfType() does not refine
* Fix type refinement of NodeList::getChildrenOfItemsOfType<T>()
* Add NodeList::getChildrenOfItemsByType<T>()
This completes this list:
- Node->getChildrenOfType<T>()
- Node->getDescendantsOfType<T>()
- Node->getFirstDescendantOfType<T>()
- NodeList->getChildrenOfItemsByType<T>()
* Remove reference in comment to createMaybeEmptyList
This function does not exist anymore.
* Post commit formatting
* Lint clean
* Lint clean (with HHClientLinter)
* Post commit formatting
* One (last) lint error from HHClientLinter
* Demonstrate the `() ==> constant` can not be parsed
* Regenerate codegen, allowing constants as lambda bodies
The Package* classes were deleted by codegen.
I have ignored these deletions for backwards compat.
* Limit semaphore to cpu count
I don't got no 32 hardware threads
* Fix lint error in syntax example1 parent d2345af commit 2339345
File tree
17 files changed
+198
-44
lines changed- codegen
- syntax
- tokens
- src
- Linters
- Migrations
- __Private/codegen
- data
- nodes
- tests
- examples/NoEmptyStatementsLinter
17 files changed
+198
-44
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | 143 | | |
145 | | - | |
146 | 144 | | |
147 | 145 | | |
148 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 58 | + | |
| 59 | + | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
| |||
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 74 | + | |
| 75 | + | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
97 | | - | |
98 | | - | |
| 93 | + | |
99 | 94 | | |
100 | 95 | | |
101 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
| 572 | + | |
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
220 | 223 | | |
221 | 224 | | |
222 | 225 | | |
| |||
239 | 242 | | |
240 | 243 | | |
241 | 244 | | |
242 | | - | |
243 | | - | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments