diff options
Diffstat (limited to 'prog/mutation.go')
| -rw-r--r-- | prog/mutation.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/mutation.go b/prog/mutation.go index 7087b4d86..ada2febdb 100644 --- a/prog/mutation.go +++ b/prog/mutation.go @@ -412,7 +412,7 @@ func (t *ArrayType) mutate(r *randGen, s *state, arg Arg, ctx ArgCtx) (calls []* } if count > uint64(len(a.Inner)) { for count > uint64(len(a.Inner)) { - newArg, newCalls := r.generateArg(s, t.Type, a.Dir()) + newArg, newCalls := r.generateArg(s, t.Elem, a.Dir()) a.Inner = append(a.Inner, newArg) calls = append(calls, newCalls...) for _, c := range newCalls { |
