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
V doctor:
V full version: V 0.4.7 62c69e8.caa0c46 OS: macos, macOS, 15.2, 24C101 Processor: 8 cpus, 64bit, little endian, Apple M2 getwd: /Users/leodev/p/v/cluedo vexe: /Users/leodev/bin/v/v vexe mtime: 2024-08-26 08:17:23 vroot: OK, value: /Users/leodev/bin/v VMODULES: OK, value: /Users/leodev/.vmodules VTMP: OK, value: /tmp/v_501 Git version: git version 2.39.5 (Apple Git-154) Git vroot status: weekly.2024.34-46-gcaa0c464 (865 commit(s) behind V master) .git/config present: true CC version: Apple clang version 16.0.0 (clang-1600.0.26.6) thirdparty/tcc status: thirdparty-macos-arm64 713692d4
What did you do? ./v -g -o vdbg cmd/v && ./vdbg repro.v
./v -g -o vdbg cmd/v && ./vdbg repro.v
type Test = int fn main() { x := Test(123) arr := []int{len: x} println(arr) }
What did you expect to see?
Successful compilation
What did you see instead?
repro.v:5:12: error: array len needs to be an int 3 | fn main() { 4 | x := Test(123) 5 | arr := []int{len: x} | ~~~~~~ 6 | 7 | println(arr)
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-21700
The text was updated successfully, but these errors were encountered:
len
cap
66caf94
Delta456
Successfully merging a pull request may close this issue.
V doctor:
What did you do?
./v -g -o vdbg cmd/v && ./vdbg repro.v
What did you expect to see?
Successful compilation
What did you see instead?
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-21700
The text was updated successfully, but these errors were encountered: