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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=76112 --- shadow/76112 2005-09-15 05:53:02.000000000 -0400 +++ shadow/76112.tmp.6291 2005-09-15 05:53:02.000000000 -0400 @@ -0,0 +1,43 @@ +Bug#: 76112 +Product: Mono: Compilers +Version: 1.1 +OS: SUSE 9.2 +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: mcs: expression overflow - no line number shown + +Description of Problem: +I compile a class which has an integer that is too big. The compiler does +not show the line number and file of the error, just the error message. + +Steps to reproduce the problem: +1. Create code like this (note: 10000000 should be 10000000L): +public class Test +{ + public static void Main(string[] argv) + { + long i = 15 * 60 * 10000000; + } +} +2. Compile using mcs + +Actual Results: +error CS0220: The operation overflows at compile time in checked mode +Compilation failed: 1 error(s), 0 warnings + +Expected Results: +Test2.cs(8,12): error CS0220: The operation overflows at compile time in +checked mode + +How often does this happen? +Always _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
