[Mono-bugs] [Bug 515030] New: mdoc will crash if an enumeration contains two members with the same value

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jun 21 09:25:50 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=515030


           Summary: mdoc will crash if an enumeration contains two members
                    with the same value
    Classification: Mono
           Product: Mono: Doctools
           Version: 2.4.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Console
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: johannes at jroith.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; de-de)
AppleWebKit/530.9+ (KHTML, like Gecko) Version/4.0 Safari/530.17

mdoc will crash if an enumeration contains two members with the same value.

For example:

enum Foo {
  a = 1,
  b = 2,
  c = a
}

Obviously it should work.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.



This should be easy to fix and it would be nice to have it in 2.4.2 :-)

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list