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
u8
could not generate free method 'u8_free' for type 'u8'
================== C compilation error (from cc): ==============
cc: /tmp/v_501/test.01JJJ61JWSFYXDF5RZQGB5S9DR.tmp.c:5554:3: error: call to undeclared function 'u8_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cc: 5554 | u8_free(data);
cc: | ^
cc: 1 error generated.
================================================================
(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?
Expected V error to tell me to use builtin free(data) instead of data.free().
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.
V version: V 0.4.9 3343fb7, press to see full `v doctor` output
What did you do?
./v -g -o vdbg cmd/v && ./vdbg /Users/adamoates/Documents/test.v && /Users/adamoates/Documents/testWhat did you see?
What did you expect to see?
Expected V error to tell me to use builtin
free(data)instead ofdata.free().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.