]> Cypherpunks repositories - gostls13.git/commit
text/template: catch (A).X as a parse error
authorRob Pike <r@golang.org>
Fri, 24 Aug 2012 20:00:24 +0000 (13:00 -0700)
committerRob Pike <r@golang.org>
Fri, 24 Aug 2012 20:00:24 +0000 (13:00 -0700)
commit8b2306623992b584cc18ec4c5287a94349eb5fb3
treeac56ee5947d60e66635e49a425eca19b50f6e989
parentcc842c738ea9a64570e306cbab37c3e3cf9a35dd
text/template: catch (A).X as a parse error
This shouldn't be an error (see issue 3999), but until it's handled
correctly, treat it as one to avoid confusion. Without this CL,
(A).X parses as two arguments.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6473059
src/pkg/text/template/parse/lex.go
src/pkg/text/template/parse/parse_test.go