]> Cypherpunks repositories - gostls13.git/commit
go/ast: update (*File).Imports field in SortImports
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Mon, 30 Sep 2024 16:29:40 +0000 (16:29 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 30 Sep 2024 17:02:41 +0000 (17:02 +0000)
commitc7f70433d9110e0f2be9be025545a9eeaa6b5dbc
tree8c7d9b13594940501c5ebe51e7ea6ed1d410d864
parentf4b7291d73c40af90fdbc5fa0d72a26c5f127931
go/ast: update (*File).Imports field in SortImports

Fixes #69694

Change-Id: I7884d42482f4f9d17e7d050d7c7730f20948169d
GitHub-Last-Rev: ecd6efabaa43cc87e31e94002febc9ed4273125a
GitHub-Pull-Request: golang/go#69695
Reviewed-on: https://go-review.googlesource.com/c/go/+/616340
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/ast/import.go
src/go/ast/internal/tests/sortimports_test.go [new file with mode: 0644]