mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd: remove dead code
Fixes #74076 Change-Id: Icc67b3d4e342f329584433bd1250c56ae8f5a73d Reviewed-on: https://go-review.googlesource.com/c/go/+/690635 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Alan Donovan <adonovan@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
a2c45f0eb1
commit
4ee0df8c46
52 changed files with 1 additions and 1033 deletions
|
|
@ -23,7 +23,6 @@ type poser interface{ Pos() syntax.Pos }
|
|||
type ender interface{ End() syntax.Pos }
|
||||
|
||||
func (m *posMap) pos(p poser) src.XPos { return m.makeXPos(p.Pos()) }
|
||||
func (m *posMap) end(p ender) src.XPos { return m.makeXPos(p.End()) }
|
||||
|
||||
func (m *posMap) makeXPos(pos syntax.Pos) src.XPos {
|
||||
// Predeclared objects (e.g., the result parameter for error.Error)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue