[Mono-bugs] [Bug 73294][Nor] New - gmcs not reporting line numbers in errors
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 3 Mar 2005 13:26:58 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by lluis@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=73294
--- shadow/73294 2005-03-03 13:26:58.000000000 -0500
+++ shadow/73294.tmp.28601 2005-03-03 13:26:58.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 73294
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lluis@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: gmcs not reporting line numbers in errors
+
+When I compile this with gmcs:
+
+using System;
+
+public class Test
+{
+ void Check ()
+ {
+ throw InvalidOperationException ();
+ }
+}
+
+
+I get:
+
+lluis@portatil:~/temp> gmcs kk2.cs /t:library
+error CS0119: Expression denotes a `type' where a `variable, value, method
+group' was expected
+Compilation failed: 1 error(s), 0 warnings
+
+As you can see, the error line number is not shown. It works fin in mcs.