Skip to content

Commit

Permalink
internal/pkgbits: remove dead field
Browse files Browse the repository at this point in the history
See review comment on CL 580455.

Updates golang/go#64581

Change-Id: Ic992a1bf5388ce221a9883f49820c7a9ae85b4d0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/600135
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
  • Loading branch information
adonovan authored and gopherbot committed Jul 26, 2024
1 parent ec1a81b commit cad260e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/pkgbits/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ type PkgDecoder struct {
// version is the file format version.
version uint32

// aliases determines whether types.Aliases should be created
aliases bool

// sync indicates whether the file uses sync markers.
sync bool

Expand Down Expand Up @@ -76,7 +73,6 @@ func (pr *PkgDecoder) SyncMarkers() bool { return pr.sync }
func NewPkgDecoder(pkgPath, input string) PkgDecoder {
pr := PkgDecoder{
pkgPath: pkgPath,
//aliases: aliases.Enabled(),
}

// TODO(mdempsky): Implement direct indexing of input string to
Expand Down

0 comments on commit cad260e

Please sign in to comment.