Skip to content
This repository was archived by the owner on Apr 27, 2022. It is now read-only.

Commit 48a5cbd

Browse files
committed
fix measurement code causes E1017 and type mismatch
> E1017: Variable already declared: sum
1 parent f9a84f6 commit 48a5cbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ END
201201
return luaeval('sum')
202202
endfunc
203203
204-
def VimNew()
204+
def VimNew(): number
205205
let sum = 0
206206
for i in range(1, 2999999)
207-
let sum += i
207+
sum += i
208208
endfor
209209
return sum
210210
enddef

0 commit comments

Comments
 (0)