vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variable name shadowing import symbol

ChAoSUnItY opened this issue · comments

From vlang/v#17173 and vlang/v#17197, variable should not shadow import symbol, there is 1 potential error found in ved:

  • timer.v:62:3
   60 |             continue
   61 |         }
   62 |         time := words[2].trim_space()
      |         ~~~~
   63 |         // println('time=$time')
   64 |         a := time.split(' ')