Page MenuHomePhabricator

Fix two "implode()" order issues arising from wilds/experimental collapse
ClosedPublic

Authored by epriestley on Feb 23 2020, 4:33 PM.
Tags
None
Referenced Files
F18367018: D21024.diff
Wed, Aug 27, 11:07 PM
F18366216: D21024.id50086.diff
Wed, Aug 27, 10:02 PM
F18364159: D21024.id.diff
Wed, Aug 27, 6:27 PM
F18363810: D21024.id50085.diff
Wed, Aug 27, 5:26 PM
F18363805: D21024.id50086.diff
Wed, Aug 27, 5:26 PM
F18363262: D21024.diff
Wed, Aug 27, 4:12 PM
F18193443: D21024.id50085.diff
Sun, Aug 17, 5:29 AM
F18100906: D21024.diff
Sat, Aug 9, 12:10 PM
Subscribers
None

Details

Summary

Ref T13490. There's one simple "implode()" order issue here, and one slightly more complex one that uses "DIRECTORY_SEPARATOR" as glue.

Add test coverage for this, update the lint check to detect constants used as glue, and fix the callsites.

Test Plan
  • Added a failing test and made it pass.
  • Ran arc lint --everything and looked for remaining implode warnings, found none.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 23 2020, 4:33 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.