Skip to content
New issue

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

Allow v bug with -enable-globals #22980

Open
2 tasks
daansystems opened this issue Nov 26, 2024 · 1 comment
Open
2 tasks

Allow v bug with -enable-globals #22980

daansystems opened this issue Nov 26, 2024 · 1 comment
Labels
Bug This tag is applied to issues which reports bugs. Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one. Good First Issue (easy task) This issue is suitable to be worked on by new contributors. Status: Confirmed This bug has been confirmed to be valid by a contributor. Unit: Tooling Bugs/feature requests, that are related to the tooling for the language.

Comments

@daansystems
Copy link

daansystems commented Nov 26, 2024

Describe the feature

Current v bug doesn't support -enable-globals, it would be nice if it would support it.

Use Case

$ v -enable-globals bug src/main.v
unknown argument: bug

$ v bug -enable-globals src/main.v
unknown argument: -enable-globals

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

Current V version: V 0.4.8 7b8089b,

Environment details (OS name and version, etc.)

any

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.

@daansystems daansystems added the Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one. label Nov 26, 2024
@spytheman spytheman added Good First Issue (easy task) This issue is suitable to be worked on by new contributors. Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one. Bug This tag is applied to issues which reports bugs. Status: Confirmed This bug has been confirmed to be valid by a contributor. Unit: Tooling Bugs/feature requests, that are related to the tooling for the language. and removed Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one. labels Nov 27, 2024
@spytheman
Copy link
Member

The implementation is in cmd/tools/vbug.v .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This tag is applied to issues which reports bugs. Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one. Good First Issue (easy task) This issue is suitable to be worked on by new contributors. Status: Confirmed This bug has been confirmed to be valid by a contributor. Unit: Tooling Bugs/feature requests, that are related to the tooling for the language.
Projects
None yet
Development

No branches or pull requests

2 participants