foo(mut a)
generates invalid c code, for fn foo(mut baz ?&Abc) {
, and mut a := ?Abc{}
#18818
Labels
Bug
This tag is applied to issues which reports bugs.
Option Type
Bugs/feature requests, that are related to `?Type`.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg i.v
What did you expect to see?
a compiled program
What did you see instead?
Note that with
mut a := &?Abc{}
, the code compiles:The text was updated successfully, but these errors were encountered: