home/test/indent/go/deindent-generic-closing-brace/out
Michał Kruszewski f78cd6daf8 Improve '}' auto inserting for go language.
Adding "} else if ... {" was not correctly handled.
2020-09-20 12:25:26 +02:00

66 lines
261 B
Plaintext

1
{
}
2
{
}
3
{
bar()
}
4
{
bar()
}
5
{
bar()
}
6
{
bar()
}
7
{(
)}
8
{(
)}
9
{(
foo()
)
}
10
{(
foo()
)}
11
{(
bar()
)}
12
{(
bar()
)}
13
a := []int{
someFunction(
),
}