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
println
If you forget the closing ) on a println call, V tells you there is a missing comma.
)
This is incorrect, since println only takes a single parameter, not a comma-separated list.
Unknown if this is happening with other single parameter functions, but likely.
Filename: x.v
x.v
import os println(os.file_last_mod_unix('x.v')
Try to run it with v run x.v
v run x.v
An error message stating that the final closing ) is missing.
x.v:4:1: error: unexpected eof, expecting `,` 2 | 3 | println(os.file_last_mod_unix('x.v')
No response
V 0.4.5 b01e091
V full version: V 0.4.5 efa98d9.b01e091 OS: linux, "Manjaro Linux" Processor: 32 cpus, 64bit, little endian, AMD Ryzen 9 7950X 16-Core Processor getwd: /home/jalon vexe: /home/jalon/git/v/v vexe mtime: 2024-03-25 14:04:33 vroot: OK, value: /home/jalon/git/v VMODULES: OK, value: /home/jalon/.vmodules VTMP: OK, value: /tmp/v_1000 Git version: git version 2.44.0 Git vroot status: weekly.2024.13-8-gb01e0914 .git/config present: true CC version: cc (GCC) 13.2.1 20230801 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:
ttytm
Successfully merging a pull request may close this issue.
Describe the bug
If you forget the closing
)
on aprintln
call, V tells you there is a missing comma.This is incorrect, since
println
only takes a single parameter, not a comma-separated list.Unknown if this is happening with other single parameter functions, but likely.
Reproduction Steps
Filename:
x.v
Try to run it with
v run x.v
Expected Behavior
An error message stating that the final closing
)
is missing.Current Behavior
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.5 b01e091
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: