Descriptiontext/template: make redefinition of a template in a set more consistent.
Also make it agree with the documentation. You get an error, unless you're
calling Add explicitly, in which case it panics since that's almost certainly
a bug. The discrepancy was caused by a panic that wasn't turned into
an error along one path; deleted the offending function for clarity.
Patch Set 1 #
Total comments: 4
Patch Set 2 : diff -r d946ec1f09f6 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r d946ec1f09f6 https://go.googlecode.com/hg/ #
MessagesTotal messages: 10
|