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)
Oct 26 2024, 3:00 PM
Unknown Object (File)
Oct 24 2024, 7:50 AM
Unknown Object (File)
Oct 23 2024, 8:52 AM
Unknown Object (File)
Oct 22 2024, 11:02 PM
Unknown Object (File)
Oct 19 2024, 10:02 AM
Unknown Object (File)
Sep 12 2024, 11:53 AM
Unknown Object (File)
Sep 12 2024, 11:52 AM
Unknown Object (File)
Sep 12 2024, 11:52 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.