[nem-bug] [Nemerle 0000819]: Can't set breakpoint inside match body
feedback at nemerle.org
feedback at nemerle.org
Mon Feb 19 02:06:10 CET 2007
The following issue has been REOPENED.
======================================================================
<http://nemerle.org/bugs/view.php?id=819>
======================================================================
Reported By: VladD2
Assigned To: nazgul
======================================================================
Project: Nemerle
Issue ID: 819
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
======================================================================
Date Submitted: 01-06-2007 05:34 CET
Last Modified: 02-19-2007 02:06 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"); []
}
}
======================================================================
----------------------------------------------------------------------
nazgul - 01-12-07 22:26
----------------------------------------------------------------------
Fixed on trunk (r7263)
----------------------------------------------------------------------
VladD2 - 02-19-07 02:06
----------------------------------------------------------------------
Breakpoint again not work properly. :(
using System.Console;
def x : object = "str";
match (x)
{
| _ is int => WriteLine("is int"); // Can't set breakpoint here!
| _ is string => // Can't set breakpoint here!
WriteLine("is string"); // Can't set breakpoint here!
| _ => () // Can't set breakpoint here!
}
Issue History
Date Modified Username Field Change
======================================================================
01-06-07 05:34 VladD2 New Issue
01-12-07 22:26 nazgul Status new => resolved
01-12-07 22:26 nazgul Resolution open => fixed
01-12-07 22:26 nazgul Assigned To => nazgul
01-12-07 22:26 nazgul Note Added: 0001603
01-12-07 22:26 nazgul Summary Can't set breakpoint
inside match body => Can\'t set breakpoint inside match body
01-12-07 22:26 nazgul Description Updated
02-19-07 02:06 VladD2 Status resolved => feedback
02-19-07 02:06 VladD2 Resolution fixed => reopened
02-19-07 02:06 VladD2 Note Added: 0001748
======================================================================
More information about the bugs
mailing list