diff options
| author | Keith Randall <khr@golang.org> | 2025-08-11 17:31:03 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2025-08-11 22:36:26 -0700 |
| commit | c31359138ca5078f33eb697f71fd280ca1889593 (patch) | |
| tree | 7b2db0ad800f8e3833eac90756e099c7d7f840aa /test | |
| parent | 7248995b608cdf62362c1b95550edc0bdd15babe (diff) | |
| download | go-c31359138ca5078f33eb697f71fd280ca1889593.tar.xz | |
Revert "cmd/compile: allow StructSelect [x] of interface data fields for x>0"
This reverts commit bcd25c79aa5675d3e5d28c09715b8147906da006 (CL 693415)
Reason for revert: still causing compiler failures on Google test code
Change-Id: I887edcff56bde3ffa316f2b629021ad323a357fa
Reviewed-on: https://go-review.googlesource.com/c/go/+/694996
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'test')
| -rw-r--r-- | test/fixedbugs/issue74888.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/test/fixedbugs/issue74888.go b/test/fixedbugs/issue74888.go deleted file mode 100644 index a0083adb9c..0000000000 --- a/test/fixedbugs/issue74888.go +++ /dev/null @@ -1,20 +0,0 @@ -// compile - -// Copyright 2025 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package main - -type P struct { - q struct{} - p *int -} - -func f(x any) { - h(x.(P)) -} - -//go:noinline -func h(P) { -} |
