[Issue 5297] The lookup order of recursive with statements is undefined.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 20 11:29:29 PST 2012


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> 2012-01-20 11:29:23 PST ---
The spec looks correct to me. The lookup order is not undefined, each
successive with introduces a new scope which overrides previous scopes.

As for the shadowing, that is a bug in the compiler.

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