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
V panic: TypeSymbol.chan_info: no info for type: chan
v hash: 996f0fe
pid: 0x2
tid: 0x2
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:19979: at builtin___v_panic: Backtrace
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:41243: by v__ast__TypeSymbol_no_info_panic
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:41313: by v__ast__TypeSymbol_chan_info
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:58637: by v__checker__Checker_prefix_expr
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:56460: by v__checker__Checker_expr
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:50226: by v__checker__Checker_assign_stmt
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:55124: by v__checker__Checker_stmt
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:55764: by v__checker__Checker_stmts_ending_with_expression
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:55741: by v__checker__Checker_stmts
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:64579: by v__checker__Checker_fn_decl
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:55147: by v__checker__Checker_stmt
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:53007: by v__checker__Checker_check
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:53076: by v__checker__Checker_check_files
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:56142: by v__builder__Builder_middle_stages
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:56183: by v__builder__Builder_front_and_middle_stages
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:58724: by v__builder__cbuilder__gen_c
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:58696: by v__builder__cbuilder__build_c
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:58687: by v__builder__cbuilder__compile_c
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:58604: by v__builder__Builder_rebuild
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:57750: by v__builder__compile
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:59116: by main__rebuild
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:59068: by main__main
/tmp/v_1000/v.01KASQEM4FTF5T77SXQP6JV8P6.tmp.c:60080: by main
Exited with error status 1
|V full version |V 0.4.12 996f0fea1205614ed4537f346c4e642e1d219803
|:-------------------|:-------------------
|OS |linux, Debian GNU/Linux 12 (bookworm) (VM)
|Processor |2 cpus, 64bit, little endian, Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
|Memory |0.82GB/2.02GB
| |
|V executable |/home/admin/v/v
|V last modified time|2025-11-24 01:25:37
| |
|V home dir |OK, value: /home/admin/v
|VMODULES |OK, value: .vmodules
|VTMP |OK, value: /tmp/v_0
|Current working dir |OK, value: /home/admin/playground
| |
|Git version |git version 2.39.5
|V git status |N/A
|.git/config present |true
| |
|cc version |cc (Debian 12.2.0-14+deb12u1) 12.2.0
|gcc version |gcc (Debian 12.2.0-14+deb12u1) 12.2.0
|clang version |Debian clang version 14.0.6
|tcc version |tcc version 0.9.28rc 2025-02-13 HEAD@f8bd136d (x86_64 Linux)
|tcc git status |Error: fatal: detected dubious ownership in repository at '/home/admin/v/thirdparty/tcc'
To add an exception for this directory, call:
git config --global --add safe.directory /home/admin/v/thirdparty/tcc
Error: fatal: detected dubious ownership in repository at '/home/admin/v/thirdparty/tcc'
To add an exception for this directory, call:
git config --global --add safe.directory /home/admin/v/thirdparty/tcc
|emcc version |N/A
|glibc version |ldd (Debian GLIBC 2.36-9+deb12u10) 2.36
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.
Describe the bug
Code: https://play.vlang.io/p/8f98a7556f
Reproduction Steps
Included code.
Expected Behavior
Should not crash.
Current Behavior
Output:
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.12 996f0fe
Environment details (OS name and version, etc.)
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.