jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wink_ has quit [*.net *.split]
fsateler has quit [*.net *.split]
Vinski has quit [*.net *.split]
commander has quit [*.net *.split]
andrewrk has quit [*.net *.split]
edr has quit [*.net *.split]
oky has quit [*.net *.split]
niftynei has quit [*.net *.split]
commander has joined #zig
andrewrk has joined #zig
edr has joined #zig
Vinski has joined #zig
fsateler has joined #zig
jjido has joined #zig
Barabas has joined #zig
Barabas has quit [Ping timeout: 256 seconds]
Barabas has joined #zig
scientes has joined #zig
Zaab1t has joined #zig
scientes has quit [Ping timeout: 250 seconds]
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Zaab1t has quit [Ping timeout: 255 seconds]
scientes has joined #zig
Zaab1t has joined #zig
wootehfoot has joined #zig
Zaab1t has quit [Ping timeout: 246 seconds]
oky has joined #zig
<scientes>
I really wish zig had multiple return values. Is there any problem in the grammer with this?
<scientes>
I see a problem with how to handle errors
<scientes>
I guess it is fine how it is, it is just kinda ugly to have ret_foo pointers as arguments
<scientes>
actually, it would make the language more functional, and then allow more functions to be labeled PURE
develonepi3 has quit [Remote host closed the connection]
wootehfoot has quit [Read error: Connection reset by peer]
<andrewrk>
this will be solved with no-copy semantics + anonymous array literals
very-mediocre has quit [Ping timeout: 256 seconds]
<mikdusan>
are enum literals supposed to work for union(enum) as well?
<andrewrk>
yes when the field type is void
<scientes>
but arrays can only have one type???
<scientes>
can you give an example
<scientes>
you mean annonymous struct literals?
<mikdusan>
how does one add a pull request to an github issue? i assume preference is create issue for tracking, attach pull request to issue ?
<scientes>
mikdusan, in the commit write "Closes: #1234", and then submit the pull request
<scientes>
in git
<mikdusan>
thanks
Zaab1t has joined #zig
eubn has joined #zig
Barabas has quit [Ping timeout: 256 seconds]
Ichorio has joined #zig
Zaab1t has quit [Remote host closed the connection]
eubn has quit [Remote host closed the connection]
hryx has quit []
hryx has joined #zig
Ichorio has quit [Ping timeout: 268 seconds]
<scientes>
I'm getting a TODO crash in stage1 on const_values_equal for error unions
<scientes>
and if I just return false, I am getting a crash at get_error_union_type(CodeGen*, ZigType*, ZigType*): Assertion `payload_type->di_type' failed.