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
Wrong error location for deprecated method usage inside macro #8211
Comments
Issue was introduced in #7966. |
The error message is probably wrong and should point to the location where the deprecated It seems the problem is this line: https://github.com/leonklingele/invidious/blob/8189dd3268572b695066196715ee4a77662de78a/src/invidious/helpers/patch_mapping.cr#L53 change it to: until %pull.kind.end_object? and the warning will go away. Sorry for the bad error message! |
Thanks for helping @asterite :) This did indeed resolve the issue. BTW: Building with |
Not easy, it's a compiler bug. Maybe related to the fact that this happens inside a macro. |
Shall I open a separate issue for this? |
I think we can use this issue to track the problem |
--error-on-warnings
This seems to be an issue with the stdlib of Crystal which itself is using deprecated features.
See https://travis-ci.org/leonklingele/invidious/jobs/588639545#L247-L255
The text was updated successfully, but these errors were encountered: