• Rob Pike's avatar
    text/template: catch unexported fields during parse · 2d0d3d8f
    Rob Pike authored
    It's a common error to reference unexported field names in templates,
    especially for newcomers. This catches the error at parse time rather than
    execute time so the rare few who check errors will notice right away.
    
    These were always an error, so the net behavior is unchanged.
    Should break no existing code, just identify the error earlier.
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/6009048
    2d0d3d8f
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...