diff options
author | Rob Findley <rfindley@google.com> | 2020-12-08 15:01:32 -0500 |
---|---|---|
committer | Robert Findley <rfindley@google.com> | 2020-12-08 22:00:26 +0000 |
commit | 6015c4e543bcf07c01a4221ecf7692162653fa24 (patch) | |
tree | f873b69a7946819ab6fdeb31683ad9d677c7630a /src/go/parser/parser.go | |
parent | b6e678573d33d59309dcbc012ea8db45fde7b9b1 (diff) | |
download | go-6015c4e543bcf07c01a4221ecf7692162653fa24.tar.gz go-6015c4e543bcf07c01a4221ecf7692162653fa24.zip |
[dev.typeparams] go/*: add TODOs from CLs importing dev.go2go changes
With the plurality of CLs importing dev.go2go changes it's getting hard
to track all of the code review comments that were deferred for later
consideration. Add some TODOs to capture these comments in the source,
so that they may be more easily located.
Change-Id: I5caf085fec11ca8992b7affe6feb0a7aa202f21f
Reviewed-on: https://go-review.googlesource.com/c/go/+/276254
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>
Diffstat (limited to 'src/go/parser/parser.go')
-rw-r--r-- | src/go/parser/parser.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/go/parser/parser.go b/src/go/parser/parser.go index 9c414c411e..24e84d5103 100644 --- a/src/go/parser/parser.go +++ b/src/go/parser/parser.go @@ -798,7 +798,7 @@ func (p *parser) parseFieldDecl(scope *ast.Scope) *ast.Field { } else { // embedded, possibly generic type // (using the enclosing parentheses to distinguish it from a named field declaration) - // TODO(gri) confirm that this doesn't allow parenthesized embedded type + // TODO(rFindley) confirm that this doesn't allow parenthesized embedded type typ = p.parseType() } @@ -870,6 +870,7 @@ type field struct { } func (p *parser) parseParamDecl(name *ast.Ident) (f field) { + // TODO(rFindley) compare with parser.paramDeclOrNil in the syntax package if p.trace { defer un(trace(p, "ParamDeclOrNil")) } |