Simple V file with arguments() function not compiling #23436
Labels
Bug
This tag is applied to issues which reports bugs.
Status: Confirmed
This bug has been confirmed to be valid by a contributor.
Unit: markused
Bugs/feature requests, that are related to the -skip-unused.
Describe the bug
Just wanted to test the
arguments()' method in the
builtin` module. But the compiler gives error.Reproduction Steps
Create a new V project called 'arguments':
v init arguments
Use below as the content of main.v:
Try to compile the program:
v -prod . # or 'v .'
Expected Behavior
Program should compile without error.
Current Behavior
This is the output of
v -show-c-output -prod .
Possible Solution
No response
Additional Information/Context
No response
V version
0.4.9 bed28d1
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: