]> Cypherpunks repositories - gostls13.git/commit
text/template improved comparison error addresses issue #71421
authorDiego Lara <diegolara93345@gmail.com>
Fri, 31 Jan 2025 20:57:20 +0000 (20:57 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 3 Feb 2025 16:43:47 +0000 (08:43 -0800)
commit1118da25148d20f0fc275dd7ce7a08bd4ac4bdf2
tree020d7fa3986d6b1660d0a16ef980953a90dc2ee0
parente57769d5ad251a26d7676cd7a63e5332b26a35f0
text/template improved comparison error addresses issue #71421

Addresses issue #71421, improves the error message given for comparison. Previous error message did not specify the types causing conflict, just said incompatible types, new error message specifies the two types causing the issue.

Change-Id: I9d940ab7573c2763a9d052445140ecd6d38cde5e
GitHub-Last-Rev: 6fe7d8101317ea616fd9a8f3f430874b5f946d3e
GitHub-Pull-Request: golang/go#71431
Reviewed-on: https://go-review.googlesource.com/c/go/+/644175
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/text/template/funcs.go