[nem-bug] [Nemerle 0000819]: Can't set breakpoint inside match body

feedback at nemerle.org feedback at nemerle.org
Sat Jan 6 05:34:01 CET 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=819> 
======================================================================
Reported By:                VladD2
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   819
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             01-06-2007 05:34 CET
Last Modified:              01-06-2007 05:34 CET
======================================================================
Summary:                    Can't set breakpoint inside match body
Description: 
    parse_parameters (allow_patterns = false) : list [Fun_parm] {
      def group = get_token ();
      match (group) {
        | Token.RoundGroup (null) | Token.SquareGroup (null) => []
        | Token.RoundGroup (child)          
        | Token.SquareGroup (child) =>
>         push_stream (child); // can't set breakpoint here!!!
          match (maybe_parse_ellipsis ()) {
            | Some (e) =>
              pop_stream ("ellipsis spliced expression");
              [Fun_parm (e.loc, Splicable.Name (mkname ("")), PExpr.Void
(e.loc), 
                         Modifiers (NemerleAttributes.None, [e]))]
                         
            | _ => pop_stream (); TokenMap (group, fun () {
parse_parameter (allow_patterns) });
          }
        | _ => Error (group, "expecting function parameters"); []
      }
    }

======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-06-07 05:34 VladD2         New Issue                                    
======================================================================




More information about the bugs mailing list