-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
generic function with generic sumtype compile error #25248
Copy link
Copy link
Closed
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.Unit: CheckerBugs/feature requests, that are related to the type checker.Bugs/feature requests, that are related to the type checker.Unit: Type SystemBugs/feature requests, that are related to the V types system.Bugs/feature requests, that are related to the V types system.
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.Unit: CheckerBugs/feature requests, that are related to the type checker.Bugs/feature requests, that are related to the type checker.Unit: Type SystemBugs/feature requests, that are related to the V types system.Bugs/feature requests, that are related to the V types system.
V version: V 0.4.11 f60d01b, press to see full `v doctor` output
What did you do?
./v -g -o vdbg cmd/v && ./vdbg 5.v && E:\2025\v\v_test\5.exeWhat did you see?
What did you expect to see?
compile success
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.