som-snytt commented on PR #1026:
URL: https://github.com/apache/incubator-pekko/pull/1026#issuecomment-1905303232

   Aliasing it and hiding the type seems to work without nowarn.
   ```
   val fallback: AnyRef = NotApplied.asInstanceOf[AnyRef]
             pf.applyOrElse(grab(in), NotApplied) match {
               case _: fallback.type => completeStage()
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to