Skip to content

Commit

Permalink
cmd/compile/internal/gc: remove unused exporter.nesting field
Browse files Browse the repository at this point in the history
exporter.nesting was added in c7b9bd7 to mitigate golang#16369 which was
closed in ee272bb. Remove the exporter.nesting field as it is now unused.

Change-Id: I07873d1a07d6a08b11994b817a1483ffc2f5e45f
Reviewed-on: https://go-review.googlesource.com/38490
Run-TryBot: Dave Cheney <[email protected]>
Reviewed-by: Matthew Dempsky <[email protected]>
  • Loading branch information
davecheney committed Mar 23, 2017
1 parent 6f4a458 commit 2ae79d0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/cmd/compile/internal/gc/bexport.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,6 @@ type exporter struct {
written int // bytes written
indent int // for p.trace
trace bool

// work-around for issue #16369 only
nesting int // amount of "nesting" of interface types
}

// export writes the exportlist for localpkg to out and returns the number of bytes written.
Expand Down

0 comments on commit 2ae79d0

Please sign in to comment.