]> Cypherpunks repositories - gostls13.git/commit
text/template: drop unused sortKeys function
authorSeebs <seebachp@gmail.com>
Thu, 18 Oct 2018 22:00:02 +0000 (17:00 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 19 Oct 2018 05:17:57 +0000 (05:17 +0000)
commit628403fd6b02a8e71926b0cbc7c893121482628a
treee6a92b27503947990ce42fed5b771562a5055b16
parentae0c435877d3aacb9af5e706c40f9dddde5d3e67
text/template: drop unused sortKeys function

Recent change golang.org/cl/142737 drops the only call site for the
sortKeys function. If it's not in use, it should probably not be there in
the code, lurking and preparing to bite us when someone calls that instead
of the new key sorter in fmtsort, resulting in strange inconsistencies.

Since the function isn't called, this should have no impact.
Related to, but does not fix, #21095.

Change-Id: I4695503ef4d5ce90d989ec952f01ea00cc15c79d
Reviewed-on: https://go-review.googlesource.com/c/143178
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/text/template/exec.go