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: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to