score:0

Accepted answer

You can't call method simpleop with parameter of type Response, so you can't have both: case r:Response => map("").op foreach ((o) => o(r)) and req.op += simpleop _.


Related Query

More Query from same tag