-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
cgen error for generic fn with mut x ?Type argument, when an array is passed #24101
Copy link
Copy link
Closed
Closed
Copy link
Labels
BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Generics[T]Bugs/feature requests, that are related to the V generics.Bugs/feature requests, that are related to the V generics.Option TypeBugs/feature requests, that are related to `?Type`.Bugs/feature requests, that are related to `?Type`.Unit: CompilerBugs/feature requests, that are related to the V compiler in general.Bugs/feature requests, that are related to the V compiler in general.Unit: cgenBugs/feature requests, that are related to the default C generating backend.Bugs/feature requests, that are related to the default C generating backend.
Description
Metadata
Metadata
Assignees
Labels
BugThis tag is applied to issues which reports bugs.This tag is applied to issues which reports bugs.Generics[T]Bugs/feature requests, that are related to the V generics.Bugs/feature requests, that are related to the V generics.Option TypeBugs/feature requests, that are related to `?Type`.Bugs/feature requests, that are related to `?Type`.Unit: CompilerBugs/feature requests, that are related to the V compiler in general.Bugs/feature requests, that are related to the V compiler in general.Unit: cgenBugs/feature requests, that are related to the default C generating backend.Bugs/feature requests, that are related to the default C generating backend.
Type
Fields
Give feedbackNo fields configured for issues without a type.
V version: V 0.4.10 a8a4507, press to see full `v doctor` output
What did you do?
./v -g -o vdbg cmd/v && ./vdbg xx.v && xxWhat did you see?
What did you expect to see?
a compiled program
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.