mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
checker: do not allow extra () in if conditions
This commit is contained in:
@@ -699,7 +699,7 @@ pub fn get_lines() []string {
|
||||
mut inputstr := []string
|
||||
for {
|
||||
line = get_line()
|
||||
if (line.len <= 0) {
|
||||
if line.len <= 0 {
|
||||
break
|
||||
}
|
||||
line = line.trim_space()
|
||||
|
||||
Reference in New Issue
Block a user