• Rob Pike's avatar
    text/template: revert minor change to Name method · 0406c63e
    Rob Pike authored
    For  better printing, I recently changed Name to return "<unnamed>" for templates
    with empty names, but this causes trouble for the many packages that used "" as
    the template name, so restore the old behavior.
    It's usually printed as a quoted string anyway, so it should be fine.
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/7577044
    0406c63e
Name
Last commit
Last update
..
parse Loading commit data...
testdata Loading commit data...
doc.go Loading commit data...
example_test.go Loading commit data...
examplefiles_test.go Loading commit data...
examplefunc_test.go Loading commit data...
exec.go Loading commit data...
exec_test.go Loading commit data...
funcs.go Loading commit data...
helper.go Loading commit data...
multi_test.go Loading commit data...
template.go Loading commit data...