Descriptiontext/template: add back pointer to Nodes for better error generation
ErrorContext now has all the information it needs from the Node,
rather than depending on the template that contains it. This makes
it easier for html/template to generate correct locations in its
error messages.
Updated html/template to use this ability where it is easy, which is
not everywhere, but more work can probably push it through.
Fixes issue 8577.
Patch Set 1 #Patch Set 2 : diff -r 59b1bb4bf0458d3e31aaff083c5381c9906f875c https://code.google.com/p/go #Patch Set 3 : diff -r 59b1bb4bf0458d3e31aaff083c5381c9906f875c https://code.google.com/p/go #Patch Set 4 : diff -r 59b1bb4bf0458d3e31aaff083c5381c9906f875c https://code.google.com/p/go #Patch Set 5 : diff -r 59b1bb4bf0458d3e31aaff083c5381c9906f875c https://code.google.com/p/go #
Total comments: 2
Patch Set 6 : diff -r 25ae16c918f65ca0e0039d74109aaeefa716d987 https://code.google.com/p/go #
MessagesTotal messages: 10
|