mirror of
https://github.com/golang/go
synced 2024-11-20 10:34:42 -07:00
parent
3bcef5ac30
commit
e42ebea96c
@ -152,7 +152,7 @@ func _() {
|
|||||||
|
|
||||||
// Don't remove mandatory parentheses around composite literals in control clauses.
|
// Don't remove mandatory parentheses around composite literals in control clauses.
|
||||||
func _() {
|
func _() {
|
||||||
// strip no parentheses - no composite literals or composite literals don't start with a type name
|
// strip parentheses - no composite literals or composite literals don't start with a type name
|
||||||
if x {
|
if x {
|
||||||
}
|
}
|
||||||
if x {
|
if x {
|
||||||
|
Loading…
Reference in New Issue
Block a user