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

Test proc macro errors #1030

Open
kjvalencik opened this issue Apr 3, 2024 · 0 comments
Open

Test proc macro errors #1030

kjvalencik opened this issue Apr 3, 2024 · 0 comments

Comments

@kjvalencik
Copy link
Member

An important part of good proc macros is giving good error messages when they are misused. #1025 introduced the #[neon::export] macro and makes an effort to catch some common traps.

  • Including FunctionContext with task
  • Including the context attribute with task

However, these are un-tested. We should add a "compile error" test suite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant