-
Notifications
You must be signed in to change notification settings - Fork 17
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
Avoid spurious suboptimal code errors for code produced by implicit arg inference #183
Comments
That's a warning that somehow ends up being seen as an error -- I will see what's happening. Thanks for the report! |
I think it is my project configuration that transforms all warning on errors |
In that case, maybe you can run the compilation with |
This one took all night to track down, literally:
|
Since it's quite late, I will leave this bug open, since |
Quick update on this bug: In the morning I tried the simple idea I had, but it's not smart enough to discriminate well between real and spurious errors -- it hides real errors and leaves some spurious ones 👎 |
To explain the problem: the warning is legit, the code it warns about is indeed suboptimal. But the code is not written by you, it's the result of implicit argument inference, so I don't even know what to do about it:
Still don't know what to do about this... |
would it be possible to disable warning on locally? I mean it is very useful to get the warning but at the moment they are cases where you cannot do anything about it. Basically something similar to |
I am getting the following error when I try to define a scalacheck property that generates an object with miniboxed annotation:
link to the code: https://github.com/julien-truffaut/brique/blob/miniboxing/tests/src/test/scala/brique/tests/ConsListSpec.scala#L42
The text was updated successfully, but these errors were encountered: