fix(go): Indent on type switch case properly

This commit is contained in:
Evan Phoenix 2023-03-03 20:26:51 -08:00 committed by Amaan Qureshi
parent 190561df89
commit 28f84d69e3
2 changed files with 7 additions and 0 deletions

View file

@ -7,6 +7,7 @@
(literal_value) (literal_value)
(expression_case) (expression_case)
(communication_case) (communication_case)
(type_case)
(default_case) (default_case)
(block) (block)
(call_expression) (call_expression)

View file

@ -11,4 +11,10 @@ func test(ch byte) {
case 'l': case 'l':
return return
} }
var i interface{}
switch i.(type) {
case int:
return
}
} }