SOURCE_FILE
  FN
    FN_KW "fn"
    WHITESPACE " "
    NAME
      IDENT "foo"
    PARAM_LIST
      L_PAREN "("
      R_PAREN ")"
    WHITESPACE " "
    BLOCK_EXPR
      STMT_LIST
        L_CURLY "{"
        WHITESPACE "\n    "
        MATCH_EXPR
          MATCH_KW "match"
          WHITESPACE " "
          TUPLE_EXPR
            L_PAREN "("
            R_PAREN ")"
          WHITESPACE " "
          MATCH_ARM_LIST
            L_CURLY "{"
            WHITESPACE "\n        "
            MATCH_ARM
              WILDCARD_PAT
                UNDERSCORE "_"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            ERROR
              COMMA ","
            WHITESPACE "\n        "
            MATCH_ARM
              WILDCARD_PAT
                UNDERSCORE "_"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              COMMA ","
            WHITESPACE "\n        "
            MATCH_ARM
              WILDCARD_PAT
                UNDERSCORE "_"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            WHITESPACE "\n         "
            MATCH_ARM
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            WHITESPACE "\n        "
            MATCH_ARM
              MATCH_GUARD
                IF_KW "if"
                WHITESPACE " "
                LITERAL
                  TRUE_KW "true"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            WHITESPACE "\n        "
            MATCH_ARM
              WILDCARD_PAT
                UNDERSCORE "_"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            WHITESPACE "\n        "
            MATCH_ARM
              TUPLE_PAT
                L_PAREN "("
                R_PAREN ")"
              WHITESPACE " "
              MATCH_GUARD
                IF_KW "if"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            WHITESPACE "\n    "
            R_CURLY "}"
        WHITESPACE "\n"
        R_CURLY "}"
  WHITESPACE "\n"
error 42: expected pattern
error 58: expected expression
error 85: expected pattern
error 100: expected pattern
error 145: expected expression
