Report question

Question: How to systematically avoid unsafe pattern matching in Scala?