Page MenuHomePhabricator

Fix another edge case for "function call should be type cast" linter rule
ClosedPublic

Authored by joshuaspence on Dec 1 2015, 7:18 PM.
Tags
None
Referenced Files
F15436928: D14623.id35393.diff
Tue, Mar 25, 4:47 PM
F15424211: D14623.id35376.diff
Sat, Mar 22, 8:55 PM
Unknown Object (File)
Sat, Mar 1, 7:10 PM
Unknown Object (File)
Feb 19 2025, 5:08 AM
Unknown Object (File)
Feb 19 2025, 5:08 AM
Unknown Object (File)
Feb 19 2025, 5:08 AM
Unknown Object (File)
Feb 19 2025, 5:08 AM
Unknown Object (File)
Jan 31 2025, 6:41 AM
Subscribers

Details

Summary

Fix a minor issue in which changing a function call to a type cast affects the result of an expression.

Test Plan

Added test case.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 9186
Build 10862: Run Core Tests
Build 10861: arc lint + arc unit

Event Timeline

joshuaspence retitled this revision from to Fix another edge case for "function call should be type cast" 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.Dec 1 2015, 10:44 PM
This revision was automatically updated to reflect the committed changes.