Changeset 146 for trunk/src/semitwist/util/deferAssert.d
- Timestamp:
- 08/27/10 02:50:21 (1 year ago)
- Files:
-
- trunk/src/semitwist/util/deferAssert.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/semitwist/util/deferAssert.d
r134 r146 62 62 Exception e = cast(Exception)thrown; 63 63 if(e) 64 write (thrown);64 writeln(thrown); 65 65 else 66 66 writefln("Object: type '%s': %s", thrown.classinfo.name, thrown); … … 112 112 Exception e = cast(Exception)thrown; 113 113 if(e) 114 write (thrown);114 writeln(thrown); 115 115 else 116 116 writefln("Object: type '%s': %s", thrown.classinfo.name, thrown); … … 144 144 file, line, msg=="" ? "" : ": " ~ msg, 145 145 stmtStr, TExpected.classinfo.name, actualType); 146 Exceptione = cast(Exception)thrown;146 Throwable e = cast(Exception)thrown; 147 147 if(e) 148 e.writeOut( (string msg) {Stdout(msg);} );148 writeln(e); //e.writeOut( (string msg) {Stdout(msg);} ); 149 149 else 150 150 writefln("%s: %s", actualType, thrown);
