v/vlib/os
Daniel Däschle 0024ff848d
parser: check if the last or {} block expression is valid
These checks allows for:

a) `x := call() or { 'abc' }`
b) `x := call() or { panic('abc') }`
c) `x := call() or { exit(123) }`
d) `x := call() or { continue }`
e) `x := call() or { break }`
f) `x := call() or { return }`

... but produce errors for:

g) `x := call() or { println('an error') }` , etc.
2020-04-07 17:36:00 +03:00
..
bare
cmdline
const.v
const_nix.v
const_windows.v
environment.v
environment_test.v
inode.v vlib: add inode/mode information functionality (#4242) 2020-04-05 00:37:13 +03:00
inode_test.v vlib: add inode/mode information functionality (#4242) 2020-04-05 00:37:13 +03:00
os.v os: implement os.is_writable_folder/1 2020-04-05 16:56:54 +03:00
os_darwin.v
os_linux.v
os_nix.v
os_test.v parser: check if the last or {} block expression is valid 2020-04-07 17:36:00 +03:00
os_windows.v