virtpatmat_typed.scala:5: warning: unreachable code case x: String => println("FAILED") ^ OK foo