SOURCE_FILE
  FN
    FN_KW "fn"
    WHITESPACE " "
    NAME
      IDENT "func"
    PARAM_LIST
      L_PAREN "("
      R_PAREN ")"
    WHITESPACE " "
    BLOCK_EXPR
      STMT_LIST
        L_CURLY "{"
        WHITESPACE "\n    "
        EXPR_STMT
          METHOD_CALL_EXPR
            PATH_EXPR
              PATH
                PATH_SEGMENT
                  NAME_REF
                    IDENT "foo"
            DOT "."
            NAME_REF
              IDENT "bar"
            GENERIC_ARG_LIST
              COLON2 "::"
              L_ANGLE "<"
              R_ANGLE ">"
        WHITESPACE "\n    "
        EXPR_STMT
          METHOD_CALL_EXPR
            PATH_EXPR
              PATH
                PATH_SEGMENT
                  NAME_REF
                    IDENT "foo"
            DOT "."
            NAME_REF
              IDENT "bar"
            GENERIC_ARG_LIST
              COLON2 "::"
              L_ANGLE "<"
              TYPE_ARG
                PATH_TYPE
                  PATH
                    PATH_SEGMENT
                      NAME_REF
                        IDENT "i32"
              R_ANGLE ">"
          SEMICOLON ";"
        WHITESPACE "\n"
        R_CURLY "}"
  WHITESPACE "\n"
error 27: expected argument list
error 27: expected SEMICOLON
error 46: expected argument list
