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


           Summary: Invalid error in the presence of indexing operator
                    overload
           Product: Mono: Compilers
           Version: SVN
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


mcs (and gmcs) fail to compile the attached test case, apparently due to the
presence of the indexing (this[object]) operator overload.

To reproduce:

gmcs -t:library -out:foo.dll item.cs

Expected results:

No error.

Actual results:

item.cs(26,30): error CS0117: `foo.dwq' does not contain a definition for
`Item'
item.cs(22,11): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings


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