https://bugzilla.novell.com/show_bug.cgi?id=343707

           Summary: Incorrect handling of line endings in gmcs
           Product: Mono: Compilers
           Version: 1.2.6
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]
          Found By: ---


When mixing line endings eg. unix and windows in the same .cs file, compile
errors are pointing to the wrong line.

This is something that actually happens in practice when copy pasting code
around unfortunately, and we get a bug reports about this every couple of days
from users who are confused by this.

1. Download attachment
2. gmcs NewBehaviourScript.cs

Gives you a compile error in line 6 but the compile error is actually happening
in line 10.


-- 
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

Reply via email to