[Mono-bugs] [Bug 543381] New: Internal compiler error in catch () {}

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 30 21:36:34 EDT 2009


           Summary: Internal compiler error in catch () {}
    Classification: Mono
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: gonzalo at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Try compiling:
using System;

class Test {
    static void Main ()
        try {
            Console.WriteLine ("Hello");
        } catch () {}

ctest.cs(8,28): error CS1015: A type that derives from `System.Exception',
`object', or `string' expected
ctest.cs(8,26): error CS8032: Internal compiler error during parsing, Run with
-v for details

It happens since at least 2.4

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