Descriptiontext/template: exec should accept interface value as valid.
Currently, if you pass some data to a template as an interface (e.g. interface{})
and extract that value that value as a parameter for a function, it fails, saying
wrong type.
This is because it is only looking at the interface type, not the interface content.
This CL uses the underlying content as the parameter to the func.
Fixes issue 3642.
Patch Set 1 : diff -r 820ffde8c396 https://code.google.com/p/go/ #Patch Set 2 : diff -r 820ffde8c396 https://code.google.com/p/go/ #
Total comments: 1
Patch Set 3 : diff -r 820ffde8c396 https://code.google.com/p/go/ #Patch Set 4 : diff -r 820ffde8c396 https://code.google.com/p/go/ #MessagesTotal messages: 11
|