Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
godoc: fix missing (Added in Go) "x.xx" for function with type parame…
…ters For HTML documentation using godoc, since the introduction of type parameters, the new API for function with type parameters has not been rendered recently (no 1.XX displayed on the right). This changes fix it by checking for "[" first in the function name before "(". Change-Id: I9421e095bbce7ffe5f871441160d6cc87cc3f299 Reviewed-on: https://go-review.googlesource.com/c/tools/+/639475 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information