We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a type with reference to itself will make the compiler crash
type FnType = fn (string) FnType fn main() { println("OK") }
Compile or throw an error
Segmentation fault (core dumped)
No response
V 0.4.6 d364e61
V full version: V 0.4.6 96751ed.d364e61 OS: linux, Linux Mint 21.3
CC version: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 thirdparty/tcc status: thirdparty-linux-amd64 40e5cbb5
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:
type FnType = fn(string) FnType
type FnType = fn (FnType) string
Delta456
Successfully merging a pull request may close this issue.
Describe the bug
Adding a type with reference to itself will make the compiler crash
Reproduction Steps
Expected Behavior
Compile or throw an error
Current Behavior
Segmentation fault (core dumped)
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.6 d364e61
Environment details (OS name and version, etc.)
V full version: V 0.4.6 96751ed.d364e61
OS: linux, Linux Mint 21.3
CC version: cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
thirdparty/tcc status: thirdparty-linux-amd64 40e5cbb5
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: