• Rob Pike's avatar
    text/template: detect unexported fields better · a8098cbc
    Rob Pike authored
    Moves the error detection back into execution, where it used to be,
    and improves the error message.
    Rolls back most of 6009048, which broke lower-case keys in maps.
    If it weren't for maps we could detect this at compile time rather than
    execution time.
    
    Fixes #3542.
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/6098051
    a8098cbc
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...