-
Notifications
You must be signed in to change notification settings - Fork 4
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
object-does-not-match-filename
lints prints incorrect filename
#296
Comments
@maxonfjvipon assign me, please |
@maxonfjvipon in this case, I think
we should report the warning, since |
@h1alexbel when the program name is |
@maxonfjvipon I think we should compare only the filename in this lint, so in |
@h1alexbel this is the original ticket and yes, there's no any word about package.
@yegor256 WDYT? |
@maxonfjvipon I believe, the |
@h1alexbel see above, let's fix it |
bug(#296): compare `/program/@name` with packaged object path
@yegor256 should we make a new release? |
@rultor release, tag is |
@maxonfjvipon the problem should be fixed, try again with new version, please |
@maxonfjvipon still an issue? |
@h1alexbel no, thanks |
If
/program/@name
isfoo.x.main
and/program/objects/o[1]/@name
ismain
and/program/metas/meta[head='package']/tail
isf
, which is:Then I see in log:
Object "main" does not match with filename ""
.So the
/program/@name
is not printed correctly if it does not have the same prefix as+package
aliasThe text was updated successfully, but these errors were encountered: