mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: fail when assigning to _ with :=
This commit is contained in:
@ -136,9 +136,7 @@ pub fn (ftp FTP) login(user, passwd string) bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
code, data = ftp.read()
|
||||
// TODO Replace `data` with `_`
|
||||
_ := data
|
||||
code, _ = ftp.read()
|
||||
if code == logged_in {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user