[Mono-bugs] [Bug 387875] New: multiline warnings are not errors
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 7 12:56:27 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=387875
Summary: multiline warnings are not errors
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tedu at fogcreek.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
When reporting warnings with more than one line, the second line is not an
error.
diff -r ff90838027d0
mono-src/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs
--- a/mono-src/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs Mon May
05 15:11:15 2008 -0400
+++ b/mono-src/mcs/class/System/Microsoft.CSharp/CSharpCodeCompiler.cs Mon May
05 16:11:55 2008 -0400
@@ -366,6 +366,8 @@ namespace Mono.CSharp
// We had some sort of runtime crash
error.ErrorText = error_string;
error.IsWarning = false;
+ if (error_string.IndexOf("previous warning") !=
-1)
+ error.IsWarning = true;
error.ErrorNumber = "";
return error;
}
--
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