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/main.01JN8GDSBDE2C9DZA5SNJJAHF4.tmp.c:6913: error: '_arg_expr_json_decode_1_177' undeclared
=================================================================
(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?
A normal compilation. The bug only happens when passing -autofree to the compiler.
The bug seems to happen when you call .str() inside json.decode function. If you do something like this below, the bug doesn't happen
V version: V 0.4.9 f83af8a, press to see full `v doctor` output
What did you do?
./v -g -o vdbg cmd/v && ./vdbg -autofree src/main.v && src/main
What did you see?
What did you expect to see?
A normal compilation. The bug only happens when passing -autofree to the compiler.
The bug seems to happen when you call .str() inside json.decode function. If you do something like this below, the bug doesn't happen
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.
The text was updated successfully, but these errors were encountered: