mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
go/ssa/interp/testdata: remove comment about now-fixed go/types bug
Change-Id: I55372a40c0049368a74247fe1819be384313f838 Reviewed-on: https://go-review.googlesource.com/7666 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
2206711864
commit
bd8de46c84
4
go/ssa/interp/testdata/coverage.go
vendored
4
go/ssa/interp/testdata/coverage.go
vendored
@ -91,8 +91,8 @@ func init() {
|
||||
}
|
||||
|
||||
pa1 := &[2]string{"foo", "bar"}
|
||||
pa2 := pa1 // creates an alias
|
||||
(*pa2)[0] = "wiz" // * required to workaround typechecker bug
|
||||
pa2 := pa1 // creates an alias
|
||||
pa2[0] = "wiz"
|
||||
if x := fmt.Sprint(*pa1, *pa2); x != "[wiz bar] [wiz bar]" {
|
||||
panic(x)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user