[Mono-bugs] [Bug 449433] New: Suboptimal error message reporting on automatic properties.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 26 15:03:55 EST 2008


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


           Summary: Suboptimal error message reporting on automatic
                    properties.
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


This error is quite confusing:

gmcs /tmp/a.cs
/tmp/a.cs(2,36): error CS1014: A get or set accessor expected
Compilation failed: 1 error(s), 0 warnings

The file is:

class X {
        public int Mine { get; set }
}

The problem is that set is missing a semicolon.


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