-
Notifications
You must be signed in to change notification settings - Fork 186
object_usage_linter marks wrong line with wrong message #445
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
Comments
I've just ran this in my branch for #440 (using your first file; #440 has now been merged into master)
So
So I agree that there is a bug that is unrelated to that in #432 |
However, I don't get the object-usage lint on a file that just contains your |
[WIP] debugging the above (apologies if this makes no sense) If we
Then
But, if we evaluate Should all of those assignment symbols have been added to the environment in which Adding
Now, on calling
I suspect that |
No visible binding for global variable '[x|y]' is still an issue as of 3dbf24d |
The issue that remains seems to be a duplicate of #666. Closing. |
Disclaimer
I have posted this question first on SO but I guess it is a bug and hence it should be better posted here.
Problem
Consider the following code snippet (comments at the end indicate line numbers and are not part of the problem):
When I
lint
this file vialintr:::addin_lint()
I get the following strange error:However, if I remove lines
#5
and#6
I do not have the error any more:There is no error when linting this file.
The wrong line number maybe solved in #440 but I am still at loss why the error appears in the first place and why it goes away if the lines are removed.
Session Info
The text was updated successfully, but these errors were encountered: