Skip to content

Commit df4e4ef

Browse files
merrickclaygopherbot
authored andcommitted
ssa: fix typo in doc comment for Program.FuncValue
Change-Id: I0828d0a7265d1e7c4f8c7a17832357826fbdfcfc Reviewed-on: https://go-review.googlesource.com/c/tools/+/643575 Auto-Submit: Alan Donovan <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 1261a24 commit df4e4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ssa/source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (prog *Program) packageLevelMember(obj types.Object) Member {
191191
}
192192

193193
// FuncValue returns the SSA function or (non-interface) method
194-
// denoted by the specified func symbol. It returns nil id the symbol
194+
// denoted by the specified func symbol. It returns nil if the symbol
195195
// denotes an interface method, or belongs to a package that was not
196196
// created by prog.CreatePackage.
197197
func (prog *Program) FuncValue(obj *types.Func) *Function {

0 commit comments

Comments
 (0)