Changeset 206
- Timestamp:
- 09/28/07 15:13:44 (1 year ago)
- Files:
-
- trunk/test.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/test.d
r184 r206 8 8 void main() 9 9 { 10 MDContext ctx; 11 10 12 try 11 13 { 12 MDContextctx = NewContext();14 ctx = NewContext(); 13 15 14 16 /+/* … … 69 71 { 70 72 Stdout.formatln("Error: {}", e.toUtf8()); 71 Stdout.formatln("{}", MDState.getTracebackString());73 Stdout.formatln("{}", ctx.getTracebackString()); 72 74 } 73 75 catch(Exception e) 74 76 { 75 77 Stdout.formatln("Bad error ({}, {}): {}", e.file, e.line, e.toUtf8()); 76 Stdout.formatln("{}", MDState.getTracebackString());78 Stdout.formatln("{}", ctx.getTracebackString()); 77 79 } 78 80 }
