[Issue 1849] with() should cause shadowing errors if you use a member that's shadowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 8 15:15:37 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=1849


Andrei Alexandrescu <andrei at metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrei at metalanguage.com
         Resolution|                            |FIXED


--- Comment #8 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-01-08 15:13:52 PST ---
2.051 refuses compilation with 

test.d(8): Error: with symbol shadow2.Foo.numRows is shadowing local symbol
shadow2.Foo.opCall.numRows
test.d(9): Error: with symbol shadow2.Foo.numRows is shadowing local symbol
shadow2.Foo.opCall.numRows

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list