jrfondren

Results 19 comments of jrfondren

Those changes look good to me. My only remaining problem would've been "how can I change the dub default?", but that's probably better fixed in dub. > If you wanted...

The user just needs to add to dub.sdl ``` subConfiguration "arsd-official:cgi" "cgi" ``` or to dub.json: ``` "subConfigurations": {"arsd-official:cgi": "cgi"} ```

Unsigned seems to be the most popular, but in go the type is `int` (where it's variable-sized, with `u32` et al. for specific sizes), which is signed. I'm not aware...

@medvednikov the problem isn't that it returns a signed value. That's what I prefer. The problem is that it's 32-bit so V cannot support slices of 2G or larger.

@emily33901 the particular example is obviously avoidable.

"output of 10 lines" is obtained from more than one way to implement defer. Consider: ```nim # nim proc main = for n in 1..3: defer: echo n echo "done"...

> I have the expected result with V 0.3.0 [0133ff2](https://github.com/vlang/v/commit/0133ff2cbfbf362fc75b37ed96d966c90a6c2952) You're not running it with -live

>int => i64 on 64 bit, i32 on 32 bit Looks like there's movement towards fixing this with 0.4.3, but the example still crashes as the string type is still...

I have an ARM Linux laptop, from pine64.com. V runs out of the box on the provided Arch image.

I think this is probably a very similar error: ```odin package main import "core:fmt" main :: proc() { x : Maybe(type_of(nil)) = nil fmt.println(x) } ``` Crashing with ``` Odin/core/runtime/core_builtin.odin(6:29)...