]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/types2: fix some typos in rawLookupFieldOrMethod
authorRob Findley <rfindley@google.com>
Mon, 19 Apr 2021 21:49:30 +0000 (17:49 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 20 Apr 2021 15:14:05 +0000 (15:14 +0000)
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>
src/cmd/compile/internal/types2/lookup.go

index cadaf05ca879245f988a61b669b4afcc062f15b6..78299502e9c00d9ab176733912a31c60d2602a50 100644 (file)
@@ -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?
                                }
                        }