diff options
Diffstat (limited to 'src/go/types/subst.go')
-rw-r--r-- | src/go/types/subst.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/go/types/subst.go b/src/go/types/subst.go index a063dd0a07..3491541dcb 100644 --- a/src/go/types/subst.go +++ b/src/go/types/subst.go @@ -70,7 +70,6 @@ func (check *Checker) subst(pos token.Pos, typ Type, smap substMap, env *Environ env = NewEnvironment() } subst.env = env - return subst.typ(typ) } @@ -125,8 +124,7 @@ func (subst *subster) typ(typ Type) Type { if recv != t.recv || params != t.params || results != t.results { return &Signature{ rparams: t.rparams, - // TODO(rFindley) why can't we nil out tparams here, rather than in - // instantiate above? + // TODO(rFindley) why can't we nil out tparams here, rather than in instantiate? tparams: t.tparams, scope: t.scope, recv: recv, |