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

[Macros] Allow reporting diagnostics on class keywords/identifiers #55718

Open
rrousselGit opened this issue May 14, 2024 · 0 comments
Open

[Macros] Allow reporting diagnostics on class keywords/identifiers #55718

rrousselGit opened this issue May 14, 2024 · 0 comments
Labels
area-tools A meta category for issues that should be addressed by tooling (prefer more concrete areas). feature-macros Implementation of the macros feature

Comments

@rrousselGit
Copy link

Hello!

I'm currently experimenting with macros ; in particular error handling.
At the moment, we seem to have the ability to report warnings/errors on the class name, which is awesome. But in some cases, it may make more sense to show the warning in a slightly different location, such as on class keywords.

In particular, I'd like to show an error on the abstract keyword, because my macro requires a non-abstract classes.

Although I can currently show an error on the class name, it would be more developer friendly to show the error on the abstract instead

@lrhn lrhn added feature-macros Implementation of the macros feature area-tools A meta category for issues that should be addressed by tooling (prefer more concrete areas). labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-tools A meta category for issues that should be addressed by tooling (prefer more concrete areas). feature-macros Implementation of the macros feature
Projects
None yet
Development

No branches or pull requests

2 participants