[Mono-bugs] [Bug 343707] New: Incorrect handling of line endings in gmcs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 22 10:57:47 EST 2007


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: mono-bugs at ximian.com
        ReportedBy: joe at unity3d.com
         QAContact: mono-bugs at ximian.com
          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.


More information about the mono-bugs mailing list