-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Environment:
V 0.1.30 1ee5764
CentOS Linux release 8.2.2004 x86_64
V is compiled from sources.
When trying to run Valval example from https://github.com/valvalio/valval/blob/master/example/example.v
Getting plenty of errors. Among them:
~/.vmodules/valval/valval.v:200:2: error: unnecessary `()` in `if` condition, use `if expr {` instead of `if (expr) {`.
~/.vmodules/valval/valval.v:204:2: error: unnecessary `()` in `if` condition, use `if expr {` instead of `if (expr) {`.
~/.vmodules/valval/valval.v:233:22: error: unknown function: net.listen
~/.vmodules/valval/valval.v:234:29: error: unexpected `or` block, the function `accept` does not return an optional
~/.vmodules/valval/valval.v:235:20: error: unexpected `or` block, the function `close` does not return an optional
~/.vmodules/valval/valval.v:240:22: error: invalid argument 1 to `readall`: expected `net.Socket`, not `void`
~/.vmodules/valval/valval.v:243:26: error: unexpected `or` block, the function `write` does not return an optional
~/.vmodules/valval/valval.v:245:26: error: unexpected `or` block, the function `write` does not return an optional
etc
Is this Valval version functional/working? What V version does it support?
Full errors log is attached here:
valval_sample_errors.txt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels