=act,clu,con,doc,per,rem,sam #15114 append missing parens at Actor.sender() invocations
This commit is contained in:
parent
67784dbdae
commit
f4793a399f
30 changed files with 78 additions and 78 deletions
|
|
@ -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(_)"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue