mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
Also: - extend Parent() to all Values and add to interface: (Builtin/Const/Global => nil; Function => Enclosing) - hide Function.Enclosing since it's now redundant wrt Parent() - make (*Function).String robust for synthetics without pkg object LGTM=gri R=gri CC=golang-codereviews, khr https://golang.org/cl/87580044