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
{{ message }}
Repository navigation
optional sumtype struct field builder errorย #20181
Gives this compiler error:
/tmp/v_1000/1.1463261147480528181.tmp.c:2389: error: cannot convert 'struct main__Prices' to 'struct _option_main__Prices'
Reproduction Steps
Use the code from above and v run .
Expected Behavior
successful compilation
Current Behavior
builder error:
v -cg run 1.v
/tmp/v_1000/1.17748602982829807624.tmp.c:2391: error: cannot convert 'struct main__Prices' to 'struct _option_main__Prices'
builder error:
==================
C error. This should never happen.
Activity