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
Cant initialise the fixed size array.
const ( c = int(1) ) print(c) a := [c]int{} dump(a)
file.v:7:7: error: fixed size cannot be zero or negative (fixed_size: 0) 5 | 6 | print(c) 7 | a := [c]int{} | ^ 8 | dump(a)
Current V version: V 0.4.2 c09b66b, timestamp: 2023-10-26 09:51:44 +0300
OS: windows, Microsoft Windows 10 Education v19045 64 bits
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:
Successfully merging a pull request may close this issue.
Describe the bug
Cant initialise the fixed size array.
Reproduction Steps
Current Behavior
V version
Current V version: V 0.4.2 c09b66b, timestamp: 2023-10-26 09:51:44 +0300
Environment details (OS name and version, etc.)
OS: windows, Microsoft Windows 10 Education v19045 64 bits
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: