Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
MIT License
35.71k
stars
2.16k
forks
source link
cgen error `cannot convert 'int' to 'struct _result_void'` #18709
Describe the bug
Encountered another cgen error, repository link here. The branch
cgen_error-#2
is not going to change so the problem will be frozen in time.error: cannot convert 'int' to 'struct _result_void'
Expected Behavior
Not a cgen error
Current Behavior
cgen error
Reproduction Steps
git clone https://github.com/Coachonko/redis.git && cd redis/
git checkout cgen_error-#2
v run src/cmd_test.v
Possible Solution
No response
Additional Information/Context
No response
V version
Current V version: V 0.3.4 60f9f53, timestamp: 2023-06-29 07:01:21 +0300
Environment details (OS name and version, etc.)