Skip to content

Commit 24875e3

Browse files
committed
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 <[email protected]> Run-TryBot: Robert Findley <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Robert Griesemer <[email protected]>
1 parent 4ce49b4 commit 24875e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/compile/internal/types2/lookup.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,8 @@ func (check *Checker) rawLookupFieldOrMethod(T Type, addressable bool, pkg *Pack
206206
}
207207
if obj == nil {
208208
// At this point we're not (yet) looking into methods
209-
// that any underlyng type of the types in the type list
210-
// migth have.
209+
// that any underlying type of the types in the type list
210+
// might have.
211211
// TODO(gri) Do we want to specify the language that way?
212212
}
213213
}

0 commit comments

Comments
 (0)