Delyan Angelov

Results 270 comments of Delyan Angelov

@Wertzui123 any chance of adding an example/test for this? Even if it can not be automated easily now, it will still be valuable, since it can then serve as a...

>The bug has something to do with git line endings in windows. Those will be fixed by `v fmt -w vlib/os/` .

Good work. It just needs some tests to prevent/detect regressions.

> Does not `[markused]` already this job? No, these are generated functions in cgen; `[markused]` is used on V functions present in the source code.

Closing, since .sorted() and .sorted_with_compare() were implemented in 58b6ba8 .

`qnx` does not have full platform support like say `freebsd`, `linux`, `windows`, or `macos` have. Imho just add the declarations for macos .

If an object `x` has .str() method, it should be called with `println(x)`. How the receiver is declared does not matter semantically (it does for what code is generated, because...

If one wants the `ptr_str()` behaviour, he can always do that explicitly: `println(ptr_str(s))` `println(s)` and `println(s.str()` should *always* generate code for calling the custom `.str()` method.