[Mono-bugs] [Bug 370414] New: Missing CS0136

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 13 11:18:45 EDT 2008


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


           Summary: Missing CS0136
           Product: Mono: Compilers
           Version: 1.9.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=201298)
 --> (https://bugzilla.novell.com/attachment.cgi?id=201298)
Test Case

The attached code should produce a CS0136:

A local variable named 'i' cannot be declared in this scope because it would
give a different meaning to 'i', which is already used in a 'parent or
current/child' scope to denote something else

Both mcs and gmcs compile without error.

This case is derived from trying to compile MonoDevelop with csc:
CSharpTextEditorExtension.cs: Line 358, Variables lin, col


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