The language allows circular type references #24511
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: Checker
Bugs/feature requests, that are related to the type checker.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Code: https://play.vlang.io/p/104cca0a8c
Reproduction Steps
Run the code above
Expected Behavior
It shouldn't allow circular type references
Current Behavior
It allows circular type references
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.10 d06e111
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: