From 24875e3880c1ef7aca6c844c5b28cf32aea5c418 Mon Sep 17 00:00:00 2001 From: Rob Findley Date: Mon, 19 Apr 2021 17:49:30 -0400 Subject: [PATCH] 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 --- src/cmd/compile/internal/types2/lookup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/compile/internal/types2/lookup.go b/src/cmd/compile/internal/types2/lookup.go index cadaf05ca87..78299502e9c 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? } }