1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

operator | not defined on bool

This commit is contained in:
Alexander Medvednikov
2019-09-15 19:07:40 +03:00
parent 48c05b5a45
commit 3db4d66824
6 changed files with 27 additions and 18 deletions

View File

@ -39,7 +39,7 @@ pub fn ls(path string) []string {
if isnil(ent) {
break
}
name := tos_clone(ent.d_name)
name := tos_clone(byteptr(ent.d_name))
if name != '.' && name != '..' && name != '' {
res << name
}