Skip to content

Commit cf7322c

Browse files
committed
typo
Change-Id: I961be6ae172f8f4b82f4d5b84d45d00f1c5ac05d
1 parent d6e3c35 commit cf7322c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/compile/internal/devirtualize/devirtualize.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func concreteType1(s *State, n ir.Node, seen map[*ir.Name]struct{}) (t *types.Ty
271271
}
272272

273273
if _, ok := seen[name]; ok {
274-
// Self assignment, treat is the same as a nil assignment.
274+
// Self assignment, treat it the same as a nil assignment.
275275
// In case this is the only assignment then we are not going to devirtualize anything.
276276
// In case there are other assignment, we still preserve the correct type.
277277
return nil, true

0 commit comments

Comments
 (0)