]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: remove a stale comment
authorRobert Findley <rfindley@google.com>
Mon, 25 Oct 2021 17:26:54 +0000 (13:26 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 27 Oct 2021 16:59:43 +0000 (16:59 +0000)
Clean up a comment that was deleted in types2 in CL 353135.

Change-Id: If339efa133e2a3d1eaa3b1e69458471677018261
Reviewed-on: https://go-review.googlesource.com/c/go/+/358517
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/go/types/typestring.go

index 2feaf627d6ebc6a23ab2f8b54b9982bdcc58ac02..9154ebc4066bbe31ce40629ba40b4e53c47e1ba8 100644 (file)
@@ -275,9 +275,6 @@ func (w *typeWriter) typ(typ Type) {
                        break
                }
                // Optionally write out package for typeparams (like Named).
-               // TODO(danscales): this is required for import/export, so
-               // we maybe need a separate function that won't be changed
-               // for debugging purposes.
                if t.obj.pkg != nil {
                        writePackage(w.buf, t.obj.pkg, w.qf)
                }