Generic fntype error #23453
Labels
Bug
This tag is applied to issues which reports bugs.
Generics[T]
Bugs/feature requests, that are related to the V generics.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Unit: Checker
Bugs/feature requests, that are related to the type checker.
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
Describe the bug
When define a generic fntype, it has some bug.
Reproduction Steps
sort.v :
Expected Behavior
compile ok
Current Behavior
Possible Solution
use
sort2
instead ofsort
Additional Information/Context
No response
V version
V 0.4.9 9fc8352
Environment details (OS name and version, etc.)
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.
The text was updated successfully, but these errors were encountered: