https://bugzilla.novell.com/show_bug.cgi?id=391871
Summary: gmcs reports wrong error about try-catch block
Product: Mono: Compilers
Version: 1.9.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Testcase:
using System;
namespace Banshee.GalaxiumNotifier
{
public class MyClass
{
public MyClass()
{
try {
int i = 6;
}
catch ()
{
throw;
}
}
}
}
Error by csc: "An object, string, or class type expected"
Error by gmcs: "Expected catch or finally(CS1524)"
--
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs