]> Cypherpunks repositories - gostls13.git/commit
go/ast: don't MergeLine in SortImports when last import on the same line as RParen
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 8 Apr 2025 06:43:33 +0000 (06:43 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 8 Apr 2025 14:56:01 +0000 (07:56 -0700)
commit58b6891108fa75f5856750e13dff3fa980987f07
treefe4a192f283bb4b4f0cc106c673a333fc584472e
parent38a2a3c7ce156e01f8980cb97912b7067709aaa3
go/ast: don't MergeLine in SortImports when last import on the same line as RParen

Fixes #69183

Change-Id: I8b78dadaa8ba91e74ea2bfc21abd6abe72b7e38b
GitHub-Last-Rev: 1a41f9e8e3bef9926993813568902d1a77c991c1
GitHub-Pull-Request: golang/go#69187
Reviewed-on: https://go-review.googlesource.com/c/go/+/610035
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Commit-Queue: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/go/ast/import.go
src/go/ast/import_test.go