JalonSolov
JalonSolov
That's really strange... even if none of the `$if`s match, it should return `unknown`, not `''`.
Same failure locally with `V 0.3.3 b6ecd63`
I've never had a problem installing V on linux, but I always installed by cloning the source. You say you did that initially, but then in the **Reproduction Steps** section,...
Yep... it should've given a nice error message, instead of pawning if off on the C compiler.
This looks way too RPN-ish!
The playground needs to be updated. It still gives this message. Latest V on desktop says ``` foo.v:2:9: error: can only return `none` from an Option-only return function 1 |...
Please try again with latest V. If it isn't fixed now, it is definitely a platform specific bug. For example, on Manjaro Linux it compiles cleanly: ``` $ v -b...
`[markused]` prevents the `-skip-unused` option from removing the code. It doesn't do anything for the C compiler, as far as I'm aware. @spytheman would know for sure.
Are we sure this is a good addition to vlib? It is "syntax sugar" for something that is only 2 lines in V now, and it is hard-coded for a...
It is hard-coded in the source here. What if I want `arr.sorted(b > a)` instead? I'll still have to do the 2 lines in my code.