]> Cypherpunks repositories - gostls13.git/commit
cmd/go: check subcommand properties
authorIan Alexander <jitsu@google.com>
Fri, 30 May 2025 21:59:34 +0000 (17:59 -0400)
committerIan Alexander <jitsu@google.com>
Mon, 21 Jul 2025 15:29:11 +0000 (08:29 -0700)
commite5502e0959bb54ec70ca500e8d2b6f5ac5efbc53
treeef555030ad8067a6c3cd577cc1e190437750dfc5
parent2363897932cfb279dd8810d2c92438f7ddcfd951
cmd/go: check subcommand properties

This change corrects the properties checked by Lookup.  We were
inspecting the properties of the Command receiver; now we are
inspecting the properties of the subcommand.

Fixes #73864.

Change-Id: Ieb462e489fc4f8f0568aa3a2d404b322d627166c
Reviewed-on: https://go-review.googlesource.com/c/go/+/678655
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@google.com>
src/cmd/go/internal/base/base.go