cgen error: could not generate string method redict__Nil_str for type redict__Nil #83
Describe the bug
cgen error
Reproduction Steps
git clone https://github.com/einar-hjortdal/redict.git
cd redict
git checkout 832078873655ec1cc5b59986a50cc79041496a88
v install
v -n run command_test.v
Expected Behavior
no cgen error
Current Behavior
cgen error: could not generate string method `redict__Nil_str` for type `redict__Nil`
Possible Solution
No response
Additional Information/Context
Note that I don't get the usual message about cgen errors should never happen etc.
V version
V 0.5.1 1b7486a
Environment details (OS name and version, etc.)
| V full version | V 0.5.1 58f18573557247e9c743f7d60e5b3ab783f74479.1b7486a |
|---|---|
| OS | linux, "openmamba release 2026.4 for x86_64 (rolling)" |
| Processor | 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz |
| Memory | 6.26GB/31.17GB |
| V executable | /home/einar/.local/lib64/v/v |
| V last modified time | 2026-04-24 08:01:03 |
| V home dir | OK, value: /home/einar/.local/lib64/v |
| VMODULES | OK, value: /home/einar/.vmodules |
| VTMP | OK, value: /tmp/v_1000 |
| Current working dir | OK, value: /home/einar/Documents/projects/vlang/active/redict |
| Git version | git version 2.54.0 |
| V git status | weekly.2026.03-1709-g1b7486a1 |
| .git/config present | true |
| cc version | cc (GCC) 15.2.1 20251019 |
| gcc version | gcc (GCC) 15.2.1 20251019 |
| clang version | N/A |
| tcc version | tcc version 0.9.28rc 2025-02-13 HEAD@f8bd136d (x86_64 Linux) |
| tcc git status | thirdparty-linux-amd64 696c1d84 |
| emcc version | N/A |
| glibc version | ldd (GNU libc) 2.43 |
[!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.