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

Don't just moan about the syle, coerce the source #57

Open
MatthewHambley opened this issue Apr 26, 2022 · 1 comment
Open

Don't just moan about the syle, coerce the source #57

MatthewHambley opened this issue Apr 26, 2022 · 1 comment
Labels
discussion This issue needs further discussion enhancement New feature or request

Comments

@MatthewHambley
Copy link
Collaborator

Some style rules require additional information which only the developer could know. However many have an obvious
default or otherwise implied modification associated with them. For instance, when checking that implicit statements are used throughout, we might assume that if one is missing it could be added.

This moves from simply inspecting the source to modifying it which brings up questions of correctness but it is still an interesting thing to consider.

@MatthewHambley MatthewHambley added enhancement New feature or request discussion This issue needs further discussion labels Apr 26, 2022
@MatthewHambley
Copy link
Collaborator Author

Obvious candidates for coercion:

  • MissingImplicit - If no implicit statement is found, add one with a user defined option, default to none.
  • MissingPointerInit - If no pointer initialisation is found add one to null().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This issue needs further discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant