[Issue 657] New: version(): ignored

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 6 14:33:42 PST 2006


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

           Summary: version(): ignored
           Product: GDC
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: glue layer
        AssignedTo: dvdfrdmn at users.sf.net
        ReportedBy: csantander619 at gmail.com


This compiles successfully, but I don't think it should.

//---------
void bar ()
{
        foo (); // should fail
}

version(none):
void foo () {}
//---------
$ gdmd -c test.d
//---------


-- 




More information about the D.gnu mailing list