diff options
author | Rob Findley <rfindley@google.com> | 2021-04-19 17:49:30 -0400 |
---|---|---|
committer | Robert Findley <rfindley@google.com> | 2021-04-20 15:14:05 +0000 |
commit | 24875e3880c1ef7aca6c844c5b28cf32aea5c418 (patch) | |
tree | 93d4aaf47dfe5a7b1c78838f93d6c5551e6213dd /src/cmd/compile/internal/types2/lookup.go | |
parent | 4ce49b4a158b3ace253a3302f6092862c8109a94 (diff) | |
download | go-24875e3880c1ef7aca6c844c5b28cf32aea5c418.tar.gz go-24875e3880c1ef7aca6c844c5b28cf32aea5c418.zip |
cmd/compile/internal/types2: fix some typos in rawLookupFieldOrMethod
Change-Id: Ibc04a82b1d618deeb9bc168ba518dbf1d752fba7
Reviewed-on: https://go-review.googlesource.com/c/go/+/311456
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/types2/lookup.go')
-rw-r--r-- | src/cmd/compile/internal/types2/lookup.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/types2/lookup.go b/src/cmd/compile/internal/types2/lookup.go index cadaf05ca8..78299502e9 100644 --- a/src/cmd/compile/internal/types2/lookup.go +++ b/src/cmd/compile/internal/types2/lookup.go @@ -206,8 +206,8 @@ func (check *Checker) rawLookupFieldOrMethod(T Type, addressable bool, pkg *Pack } if obj == nil { // At this point we're not (yet) looking into methods - // that any underlyng type of the types in the type list - // migth have. + // that any underlying type of the types in the type list + // might have. // TODO(gri) Do we want to specify the language that way? } } |