datetime review part 2

Michel Fortin michel.fortin at michelf.com
Sat Nov 27 04:35:58 PST 2010


On 2010-11-26 20:50:16 -0500, Jonathan M Davis <jmdavisProg at gmx.com> said:

> By the way, did you run the full unit tests on Mac OS X, or did you just test
> and fix the Mac-specific changes that I made? I assume that the unit 
> tests pass on
> Mac OS X, but I don't know.

The unit tests in unittests.d and time.d pass fine, but datetime.d does 
not compile:

datetime.d(26977): Error: undefined identifier tzset
datetime.d(27035): Error: template unittests.assertEqual(alias pred = 
"a == b",T,U) if (__traits(compiles,binaryFun!(pred)(actual,expected)) 
&& isPrintable!(T) && isPrintable!(U)) does not match any function 
template declaration
... and the last error repeated a couple of time


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list