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
==================
^~~~~~~~~~~~~~~
/tmp/v_501/main.14493015409709803414.tmp.c:10882:48: error: too few arguments to function call, expected 2, have 1
int* _t1 = &(*(c)).vals[v_fixed_index((int)(e)), 256)];
~~~~~~~~~~~~~ ^
/tmp/v_501/main.14493015409709803414.tmp.c:6281:28: note: 'v_fixed_index' declared here
inline VV_LOCAL_SYMBOL int v_fixed_index(int i, int len) {
^
/tmp/v_501/main.14493015409709803414.tmp.c:10882:54: error: expected ']'
int* _t1 = &(*(c)).vals[v_fixed_index((int)(e)), 256)];
^
/tmp/v_501/main.14493015409709803414.tmp.c:10882:25: note: to match this '['
int* _t1 = &(*(c)).vals[v_fixed_index((int)(e)), 256)];
...
==================
(Use `v -cg` to print the entire error message)
builder error:
==================
C error. This should never happen.
This is a compiler bug, please report it using `v bug file.v`.
https://github.com/vlang/v/issues/new/choose
You can also use #help on Discord: https://discord.gg/vlang
The text was updated successfully, but these errors were encountered:
* origin:
ci: vfmt fmt.v ...
cgen: fix `$if T.typ is Type {` (vlang#13135)
parser: add support for mutable if guards (vlang#13132)
tests: test with valgrind rune.bytes(), fix leak in .str_escaped()
builtin: reduce allocations in `rune.bytes()`
builtin: allow msvc users to link against a custom compiled Boehm library (vlang#13133)
cgen: fix cast in the index of reference fixed array (fixvlang#13128) (vlang#13131)
builtin: add a rune.bytes() convenience method (vlang#13129)
checker: check error for match conditions with parenthesis (vlang#13130)
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg main.v
What did you expect to see?
successful compilation
What did you see instead?
The text was updated successfully, but these errors were encountered: