Generics implementation maybe keeps state from previous run, that it should have reset #22855
Labels
Bug
This tag is applied to issues which reports bugs.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Unit: cgen
Bugs/feature requests, that are related to the default C generating backend.
Unit: Checker
Bugs/feature requests, that are related to the type checker.
Describe the bug
Code: https://play.vlang.io/p/7e39789b29
Reproduction Steps
Run the code on the above playground link or below
Expected Behavior
Current Behavior
Output:
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.8 897ec51.ee3a182
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.
Huly®: V_0.6-21300
The text was updated successfully, but these errors were encountered: