Changeset 401
- Timestamp:
- 10/14/07 20:23:00 (1 year ago)
- Files:
-
- candidate/phobos/std/format.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
candidate/phobos/std/format.d
r391 r401 1974 1974 formatGeneric!(Writer, ulong)(w, &fake, f); 1975 1975 } else static if (is(D : Object)) { 1976 if (obj ) w.write(obj.toString);1977 else w.write( "null");1976 if (obj is null) w.write("null"); 1977 else w.write(obj.toString); 1978 1978 } else { 1979 1979 static assert(false, "Cannot format type " ~ D.stringof);
