mirror of
https://github.com/golang/go
synced 2024-11-18 03:04:45 -07:00
fix build
TBR=r OCL=30757 CL=30757
This commit is contained in:
parent
111ae83bb7
commit
ae11e9eb88
@ -284,8 +284,8 @@ func TestAll(tt *testing.T) { // TODO(r): wrap up better
|
||||
v1 := NewZeroValue(t1);
|
||||
if v1 == nil { panic("V1 is nil"); }
|
||||
v1.(PtrValue).SetSub(v);
|
||||
a := v1.Interface().(*[]int32);
|
||||
println(&a, len(a), cap(a));
|
||||
a := *v1.Interface().(*[]int32);
|
||||
println(a, len(a), cap(a));
|
||||
for i := 0; i < len(a); i++ {
|
||||
v.Elem(i).(Int32Value).Set(int32(i));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user