-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/ast/astutil: PathEnclosingInterval: add missing FuncType nodes
The special case for FuncDecl > FuncType added long ago had the effect of eliding FuncType from the returned path. Add it back. Fixes golang/go#68202 Change-Id: I7dd1bc5c81c89af9b1f388154bec4e910d0fb2d6 Reviewed-on: https://go-review.googlesource.com/c/tools/+/595195 Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters