Claire Neveu

Results 43 comments of Claire Neveu

@agile-jordi That is definitely a bug. It seems that `@SuppressWarnings` is not suppressing warnings for the automatically generated companion object. As a temporary workaround you can annotate the companion object...

It might make sense to just fold `StringPlusAny` into `ToString` to get a wart which consistently forbids `s`. I made them two different warts for historical reasons but I haven't...

I've been thinking about this lately and I don't think it can be done without changing the interface of `WartTraverser`. My idea is that we make `apply` concrete and introduce...

@shajra-cogscale Can you post a minimum test case demonstrating the error?

Personally I try to use `implicit class` in this case which should not trigger the wart. I do understand that there are limitations to this approach but I cannot think...

I think just about every partial function is fair game.

@amanjpro I think you may have misunderstood. Nobody (that I know of) wants to ban `PartialFunction`. The standard library exposes several functions/methods which are partial (they throw exceptions for some...

I'm familiar with this functionality or what it would take to implement it. Could you elaborate on how this would be different from the current setup?

I meant: can you give an example of what this would look like so I don't have to track down an akka example.

Hey Pedro, see also https://github.com/wartremover/wartremover/issues/215. In general it makes more sense for Wartremover to ignore macro expansions but nobody has taken the time to implement that (it's non-trivial to detect...