[Mono-bugs] [Bug 391871] New: gmcs reports wrong error about try-catch block
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun May 18 19:03:27 EDT 2008
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: mono-bugs at lists.ximian.com
ReportedBy: aaragoneses at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list