5b73e75943 ^
73ff6fcfc2 ^
5c21feb3a0 ^
257a1845d3 ^
1 2 3
4 5 6 7 8
9
10
11
12 13 14
object Actor { def receive[A](f: PartialFunction[Any, A]): A = ??? } object Test { def foo() = { val x = 1; Actor.receive { case "abc" if x == 2 => Console.println("hi!") } } }