cgen error: '__v_error' undeclared #21875
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: Compiler
Bugs/feature requests, that are related to the V compiler in general.
Describe the bug
Reproduction Steps
Accidentally wrote
dump(error)
instead ofdump(err)
and got the cgen error when compiling the program.Expected Behavior
Compiler should tell me error is undeclared instead of producing bad c code
Current Behavior
bad c code
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.6 aa34047, timestamp: 2024-07-15 15:18:49 +0300
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: