[Mono-bugs] [Bug 681043] New: Compiler crash with class enum named arguments

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Mar 19 01:49:28 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=681043

https://bugzilla.novell.com/show_bug.cgi?id=681043#c0


           Summary: Compiler crash with class enum named arguments
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mike.biz at dussault.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: ---


Description of Problem:

This code crashes the MonoTouch compiler:

class MyClass
{
   public enum SomeEnum
   {
      Blah
   }

   void Foo( SomeEnum test = SomeEnum.Blah )
   {
   }
}



Steps to reproduce the problem:
1. Create any type of MonoTouch project
2. Add the above code
3. Compile


Actual Results:

The Build Output shows "/Developer/MonoTouch/usr/bin/smcs: line 2: 12255 Abort
trap ...." and the errors tab says, "The compiler appears to have crashed."


Expected Results: This should compile fine.


How often does this happen?  Every time.

-- 
Configure bugmail: https://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