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
docker-login-fix.vsh:50:5: warning: unused variable: `chidlpath`
48 | for next := true; next; {
49 | next = select {
50 | chidlpath := <-ch_in {}
| ~~~~~~~~~
51 | }
52 | }
==================
/tmp/v_1000/docker-login-fix.01J1D3X67FYSHQAN9PYWR4T64X.tmp.c:24985: warning: assignment from incompatible pointer type
/tmp/v_1000/docker-login-fix.01J1D3X67FYSHQAN9PYWR4T64X.tmp.c:24987: error: cannot convert 'struct sync__Channel *' to 'struct string'
...
==================
(Use `v -cg` to print the entire error message)
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 .
Maybe helpful information
It looks like the issue is because of the f function inside walker and loader and the generated C code has the thread_arg_f definition overwritten because of the other function with the same name.
If I change the name of one of the f functions to ff, for example, the code works fine.
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:
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg docker-login-fix.vsh
What did you expect to see?
chan GitlabCI{cap: 0, closed: 0}
What did you see instead?
Maybe helpful information
It looks like the issue is because of the
f
function insidewalker
andloader
and the generated C code has thethread_arg_f
definition overwritten because of the other function with the same name.If I change the name of one of the
f
functions toff
, for example, the code works fine.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: