Error message for duplicate @[flag]
enum is confusing
#22759
Labels
Bug
This tag is applied to issues which reports bugs.
Unit: Parser
Bugs/feature requests, that are related to the V parser or syntax (*not* semantic ones).
Describe the feature
Minimal reproduction:
Compiling main.v results in the error:
Use Case
Having clear error messages makes me more productive
Proposed Solution
The error message may be the same as duplicate regular enums, which reads:
Other Information
No response
Acknowledgements
Version used
V 0.4.8 3108820
Environment details (OS name and version, etc.)
V full version: V 0.4.8 3108820
OS: windows, Microsoft Windows 11 Pro v22631 64-bit
Processor: 12 cpus, 64bit, little endian,
getwd: C:\dev\v\winmd
vexe: C:\dev_tools\v\v.exe
vexe mtime: 2024-11-04 09:25:35
vroot: OK, value: C:\dev_tools\v
VMODULES: OK, value: C:\Users\simen.vmodules
VTMP: OK, value: C:\Users\simen\AppData\Local\Temp\v_0
Git version: git version 2.40.0.windows.1
Git vroot status: weekly.2024.26-746-g3108820d
.git/config present: true
CC version: Error: 'cc' is not recognized as an internal or external command,
operable program or batch file.
thirdparty/tcc status: thirdparty-windows-amd64 b425ac82
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: