Page MenuHomePhabricator

Fix a duplicate `case` statement
ClosedPublic

Authored by joshuaspence on Jan 4 2015, 8:03 AM.
Tags
None
Referenced Files
F14444680: D11194.diff
Thu, Dec 26, 11:16 AM
Unknown Object (File)
Sat, Dec 7, 5:45 PM
Unknown Object (File)
Tue, Dec 3, 10:35 PM
Unknown Object (File)
Fri, Nov 29, 9:56 PM
Unknown Object (File)
Thu, Nov 28, 6:27 PM
Unknown Object (File)
Thu, Nov 28, 6:27 PM
Unknown Object (File)
Thu, Nov 28, 6:26 PM
Unknown Object (File)
Thu, Nov 28, 6:26 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP4e7c10cec54f: Fix a duplicate `case` statement
Summary

This appears to be a typo, identified by ArcanistXHPASTLinter::LINT_DUPLICATE_SWITCH_CASE (see D11171).

Test Plan

arc lint

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Remove a duplicate `case` statement.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

Nice catch!

I think this should be TYPE_TRUST_EMAILS, though, not removed.

This revision now requires changes to proceed.Jan 4 2015, 4:35 PM
joshuaspence retitled this revision from Remove a duplicate `case` statement to Fix a duplicate `case` statement.Jan 4 2015, 8:41 PM
joshuaspence updated this object.
joshuaspence edited edge metadata.
joshuaspence edited edge metadata.

Change to TYPE_TRUST_EMAILS

epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 4 2015, 9:18 PM
This revision was automatically updated to reflect the committed changes.