[Issue 3131] better type resolve

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 3 20:33:37 PDT 2009


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


Derek Parnell <ddparnell at bigpond.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ddparnell at bigpond.com




--- Comment #5 from Derek Parnell <ddparnell at bigpond.com>  2009-07-03 20:33:36 PDT ---
Regardless of whether it is a good idea or not, I see a related problem in that
there is a bit of apparent inconsistency.

Look at this program ...

// ------------
struct X 
{
}
struct Y
{
    X X;   // Disallowed
}
void main()
{
    X X;   // Allowed.
}
// ------------

Either both instances should be disallowed or both allowed, IMO.

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