From: Rob Findley Date: Mon, 19 Apr 2021 21:49:30 +0000 (-0400) Subject: cmd/compile/internal/types2: fix some typos in rawLookupFieldOrMethod X-Git-Tag: go1.17beta1~555 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=24875e3880;p=gostls13.git 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 Run-TryBot: Robert Findley TryBot-Result: Go Bot Reviewed-by: Robert Griesemer --- 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? } }