aboutsummaryrefslogtreecommitdiff
path: root/src/debug/gosym/symtab.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/gosym/symtab.go')
-rw-r--r--src/debug/gosym/symtab.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/gosym/symtab.go b/src/debug/gosym/symtab.go
index d87b312b56..bf38927254 100644
--- a/src/debug/gosym/symtab.go
+++ b/src/debug/gosym/symtab.go
@@ -567,7 +567,7 @@ func (t *Table) PCToLine(pc uint64) (file string, line int, fn *Func) {
}
// LineToPC looks up the first program counter on the given line in
-// the named file. It returns UnknownPathError or UnknownLineError if
+// the named file. It returns [UnknownFileError] or [UnknownLineError] if
// there is an error looking up this line.
func (t *Table) LineToPC(file string, line int) (pc uint64, fn *Func, err error) {
obj, ok := t.Files[file]