Skip to content

indent "default:" to match "case" in switch statement #3143

Closed
@danrubel

Description

@danrubel

floitsch: bad indentation.
switch (foo) {
 case 3:
   return true;
 default:
   return false;
}

the "default:" is not intended correctly (it is at the same level as "return true;".
////////////////////////////////////////////////////////////////////////////////////
Editor Version: 7759
////////////////////////////////////////////////////////////////////////////////////
OS: Linux - amd64 (3.3.5-1-ARCH)
SDK installed = true
Dartium installed = true
AnalysisServer enabled = true
////////////////////////////////////////////////////////////////////////////////////

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions