-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
New rule that ensures module/interface/package/program identifier matches the filename it's in #283
Conversation
Nice one @ShantanuPSinha :) To get the testcases working, I'd like to suggest a different approach (not replacing |
Thanks @DaveMcEwan! Just a couple of clarifying questions.
Thanks for your time |
…ng up to first non-identifier symbol
…substring up to first non-identifier symbol
…h substring up to first non-identifier symbol
…substring up to first non-identifier symbol
…identifier_matches_filename rules + updated contributing
Updates:
Notes: I am using |
Hey @DaveMcEwan, do you have any feedback/suggestions? |
@DaveMcEwan @dalance, just following up on this |
I think this PR seems to be ready, so I'll merge it. |
Closes #252
The pass testcase is slightly unintuitive in that the module name does not actually match the file it's currently in, but works due to how build.rs modifies the filenames for testing.