toTypePatternExpr