Page MenuHomePhabricator

Minor change to suppress linter warning
ClosedPublic

Authored by joshuaspence on Feb 28 2015, 11:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 6:07 PM
Unknown Object (File)
Mon, Feb 3, 1:44 AM
Unknown Object (File)
Thu, Jan 30, 4:04 PM
Unknown Object (File)
Mon, Jan 27, 8:03 AM
Unknown Object (File)
Jan 21 2025, 10:36 AM
Unknown Object (File)
Jan 19 2025, 11:57 AM
Unknown Object (File)
Jan 17 2025, 10:04 PM
Unknown Object (File)
Jan 12 2025, 4:32 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rPca042df6deac: Minor change to suppress linter warning
Summary

Rewrite this expression so that the second parameter to qsprintf is a scalar.

Test Plan

arc lint

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4684
Build 4698: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Minor change to suppress linter warning.
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.Feb 28 2015, 11:36 PM

Another thought that I had is to write an evaluatesToScalar() method for XHPASTNode, which is likely a better approach.

I think this is preferable and clearer, even if we could reduce ternary expressions in the AST.

I think this is preferable and clearer, even if we could reduce ternary expressions in the AST.

This meaning this diff?

This revision was automatically updated to reflect the committed changes.