mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
comptime: fix custom -d flags and $if x? {}
. Fixes ftp_test.v .
This commit is contained in:
@@ -127,10 +127,7 @@ pub fn (ftp FTP) login(user, passwd string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
mut data := ''
|
||||
mut code := 0
|
||||
|
||||
code, data = ftp.read()
|
||||
mut code, data := ftp.read()
|
||||
if code == LoggedIn {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user