You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
================== C compilation error (from tcc): ==============
cc: /tmp/v_1000/250722b.01K0T434TZZNP93QRFWPMC5BE2.tmp.c:2122: warning: implicit declaration of function '_option_ok'
cc: /home/jorge/v/thirdparty/tcc/lib/libgc.a: error: 'GC_noop1_ptr' defined twice
cc: tcc: error: undefined symbol '_option_ok'
=================================================================
(You can pass `-cg`, or `-show-c-output` as well, to print all the C error messages).
builder error:
==================
C error found. It should never happen, when compiling pure V code.
This is a V compiler bug, please report it using `v bug file.v`,
or goto https://github.com/vlang/v/issues/new/choose .
You can also use #help on Discord: https://discord.gg/vlang .
What did you expect to see?
Compile.
Workaround
Call previously json.encode(Base{}) it should be over same struct Base:
V version: V 0.4.11 708c73b, press to see full `v doctor` output
What did you do?
./v -g -o vdbg cmd/v && ./vdbg 250722b.v && 250722bWhat did you see?
What did you expect to see?
Compile.
Workaround
Call previously
json.encode(Base{})it should be over same structBase:Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.