Page MenuHomePhabricator

Improve the "unexpected return value" linter rule
ClosedPublic

Authored by joshuaspence on Nov 23 2015, 10:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 31, 10:42 PM
Unknown Object (File)
Thu, Jan 30, 7:10 AM
Unknown Object (File)
Wed, Jan 29, 10:37 PM
Unknown Object (File)
Wed, Jan 29, 10:37 PM
Unknown Object (File)
Wed, Jan 29, 10:37 PM
Unknown Object (File)
Mon, Jan 27, 4:33 PM
Unknown Object (File)
Fri, Jan 24, 10:04 AM
Unknown Object (File)
Fri, Jan 24, 10:04 AM
Subscribers

Details

Summary

Return values within constructors are acceptable if they are within a closure or anonymous function.

Test Plan

Added a test case.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 9036
Build 10623: Run Core Tests
Build 10622: arc lint + arc unit

Event Timeline

joshuaspence retitled this revision from to Improve the "unexpected return value" linter rule.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Nov 23 2015, 10:52 PM
This revision was automatically updated to reflect the committed changes.