[Issue 4685] in contract of base class affected by the body of the overriding function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 20 06:32:39 PDT 2010


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
                 CC|                            |smjg at iname.com
            Version|D2                          |D1 & D2


--- Comment #1 from Stewart Gordon <smjg at iname.com> 2010-08-20 06:32:34 PDT ---
Under DMD 1.063, it fails as written as writeln isn't defined, but if changed
to writefln I get

in basicdate.format contract
xin date.format contract
1234

Under 2.048, I get the same, but if I change it to use writefln then I get

in basicdate.format contract
in date.format contract
1234

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