I've got a problem with a nimscript after updating to Nim version 0.16.0.

test.nims:
    
    
    echo listDirs("/")
    

Output: 
    
    
    $ nim test.nims
    Hint: used config file '/etc/nim.cfg' [Conf]
    nil
    

Obviously the root directory contains folders.

Additional information: 
    
    
    $ nim -v
    Nim Compiler Version 0.16.0 (2017-03-12) [Linux: amd64]
    Copyright (c) 2006-2017 by Andreas Rumpf
    
    active boot switches: -d:release -d:nativeStackTrace
    
    $ uname -r -m -o
    4.10.4-1-ARCH x86_64 GNU/Linux
    
    

Am I doing something wrong?

Reply via email to