Skip to content

Commit 36bab40

Browse files
[dev.go2go] cmd/gofmt: pass UnifiedParamLists to parser
Fixes #41079 Change-Id: I781c5c681c66712ed2ac0112dd44fa8793845978 Reviewed-on: https://go-review.googlesource.com/c/go/+/251278 Run-TryBot: Ian Lance Taylor <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 5e60d1e commit 36bab40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/gofmt/gofmt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func usage() {
6161
}
6262

6363
func initParserMode() {
64-
parserMode = parser.ParseComments
64+
parserMode = parser.ParseComments | parser.UnifiedParamLists
6565
if *allErrors {
6666
parserMode |= parser.AllErrors
6767
}

0 commit comments

Comments
 (0)