[Issue 1075] dmd reject valid code

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 23 11:38:20 PDT 2007


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




------- Comment #4 from smjg at iname.com  2007-03-23 13:38 -------
I don't quite see why it should.  It would be equivalent to

class test
{
    int a;
    class b
    {
        whateever;
    }
}

but "whateever;" isn't a valid declaration.

If that's just a placeholder, using placeholders like this in code samples
isn't a good idea.  The problem could still be down to what you're trying to
use in that place.  Always use something that a user can test straight out of
the box.


-- 



More information about the Digitalmars-d-bugs mailing list