Hi all, 
Apologies for the more than slightly offtopic question.
I recently started using WartRemover and one of the first things that I 
encountered is a barrage of error notifications like what follows (for, as 
long as I can see, every receive method in my codebase)

*Error:(31, 7) Inferred type containing Any*
*  def receive = {*
*      ^*
Before WartRemover this code used to compile (and run) without issues. 
WartRemover claims it doesn't report false positives, but I'm getting this 
error on cases as simple and trivial as the following (admittedly 
contrived) example

*def receive = {*
*    case a:String => log.info(a)*
    *case _ => log.info("Unexpected input")*
*} *

Is there a way to solve this (other than asking WartRemover to not report 
this)?
Thanks in advance,

Javier 


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to