From 4ba3eff04f5bca6c4f3a5b9ac04387f1b008fd1e Mon Sep 17 00:00:00 2001 From: Robert Findley Date: Wed, 15 Sep 2021 09:39:02 -0400 Subject: [PATCH] gopls/doc: remove -tags=typeparams from generic build instructions As of CL 349949, this is not longer necessary. Change-Id: Ie89a7771f5873c4acea54f4c2507b76ec9832706 Reviewed-on: https://go-review.googlesource.com/c/tools/+/350089 Trust: Robert Findley Trust: Hyang-Ah Hana Kim Run-TryBot: Robert Findley Reviewed-by: Hyang-Ah Hana Kim TryBot-Result: Go Bot --- gopls/doc/advanced.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gopls/doc/advanced.md b/gopls/doc/advanced.md index da37494827..04f1840b12 100644 --- a/gopls/doc/advanced.md +++ b/gopls/doc/advanced.md @@ -53,12 +53,10 @@ $ gotip download For building gopls with type parameter support, it is recommended that you build gopls at tip. External APIs are under active development on the Go `master` branch, so building gopls at tip minimizes the chances of -a build failure (though it is still possible). To get enhanced gopls features -for generic code, build gopls with the `typeparams` build constraint (though -this increases your chances of a build failure). +a build failure. ``` -$ GO111MODULE=on gotip get -tags=typeparams golang.org/x/tools/gopls@master golang.org/x/tools@master +$ GO111MODULE=on gotip get golang.org/x/tools/gopls@master golang.org/x/tools@master ``` This will build a version of gopls that understands generic code. To actually