=act,clu,con,doc,per,rem,sam #15114 append missing parens at Actor.sender() invocations

This commit is contained in:
Marcin Kubala 2014-06-20 23:05:51 +02:00
parent 67784dbdae
commit f4793a399f
30 changed files with 78 additions and 78 deletions

View file

@ -18,7 +18,7 @@ class MyActor extends Actor {
import MyActor._
def receive = {
case message: Message => message match {
case BarMessage(bar) => sender ! BazMessage("Got " + bar)
case BarMessage(bar) => sender() ! BazMessage("Got " + bar)
// warning here:
// "match may not be exhaustive. It would fail on the following input: FooMessage(_)"
}