diff options
author | Dan Scales <danscales@google.com> | 2021-04-26 14:32:23 -0700 |
---|---|---|
committer | Dan Scales <danscales@google.com> | 2021-05-07 21:35:41 +0000 |
commit | f24eac47710b0170fd45611ab1867e87701e0a95 (patch) | |
tree | 485a45d4d3be76ca28f3fc6d0f18e994b86b25d4 /src/cmd/compile/internal/typecheck/typecheck.go | |
parent | 3980c4db192783c6aefa0a5978e553046c9c7dea (diff) | |
download | go-f24eac47710b0170fd45611ab1867e87701e0a95.tar.gz go-f24eac47710b0170fd45611ab1867e87701e0a95.zip |
cmd/compile: improving the documentation of various fields and functions
This is only changes to comments, so should be fine to go into 1.17.
Change-Id: I01e28dc76b03fb3ca846d976f8ac84bc2acb2ea2
Reviewed-on: https://go-review.googlesource.com/c/go/+/318009
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/typecheck/typecheck.go')
-rw-r--r-- | src/cmd/compile/internal/typecheck/typecheck.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/compile/internal/typecheck/typecheck.go b/src/cmd/compile/internal/typecheck/typecheck.go index 4c5472137a..95f7b50259 100644 --- a/src/cmd/compile/internal/typecheck/typecheck.go +++ b/src/cmd/compile/internal/typecheck/typecheck.go @@ -66,6 +66,8 @@ func FuncBody(n *ir.Func) { var importlist []*ir.Func +// AllImportedBodies reads in the bodies of all imported functions and typechecks +// them, if needed. func AllImportedBodies() { for _, n := range importlist { if n.Inl != nil { |