See D15678. A node containing a return type hint is added right before the statement body node. This updates all relevant linter rules to now retrieve the body from the correct index.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARC3ffed59bd7fb: Update xhpast linter rules for new function AST format
Ran arc unit --everything, inspected every single message to make sure all xhpast test cases succeeded. Also grepped for getChildByIndex(5 and getChildOfType(5.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- xhpast-return-types
- Lint
Lint Passed - Unit
Test Failures - Build Status
Buildable 11968 Build 15050: arc lint + arc unit
Time | Test | |
---|---|---|
152 ms | ArcanistCppcheckLinterTestCase::Unknown Unit Message (" |