mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: fix a cmd/tools/repeat.v segfault
This commit is contained in:
parent
ea74e2bc64
commit
43cf3542ac
@ -287,7 +287,8 @@ fn (mut context Context) run() {
|
||||
context.clear_line()
|
||||
print(context.cgoback)
|
||||
mut m := map[string][]int{}
|
||||
for o in context.results[icmd].outputs {
|
||||
ioutputs := context.results[icmd].outputs
|
||||
for o in ioutputs {
|
||||
x := o.split(':')
|
||||
if x.len > 1 {
|
||||
k := x[0]
|
||||
|
Loading…
Reference in New Issue
Block a user