Descriptiontext/template/parse: move itemType.String from test code into real code.
itemType is used in a few places to report errors to users of text/template.
Without String you get errors such as
template: :96: expected %!s(parse.itemType=14) in else; got "/"
With String you get
template: :96: expected right delim in else; got "/"
Patch Set 1 #Patch Set 2 : diff -r 4dca3cb86ca7 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 4dca3cb86ca7 https://go.googlecode.com/hg/ #
MessagesTotal messages: 5
|
||||||||||||||||||||||||||||