Page MenuHomePhabricator

Fix a duplicate `case` statement
ClosedPublic

Authored by joshuaspence on Jan 4 2015, 8:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 1:54 PM
Unknown Object (File)
Wed, Nov 20, 5:13 AM
Unknown Object (File)
Sat, Nov 16, 11:44 AM
Unknown Object (File)
Tue, Nov 12, 8:43 AM
Unknown Object (File)
Fri, Nov 8, 4:41 AM
Unknown Object (File)
Oct 24 2024, 11:48 AM
Unknown Object (File)
Oct 16 2024, 5:00 AM
Unknown Object (File)
Oct 15 2024, 5:38 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.