diff dwt/DWTError.d @ 59:dc7db4338dbe

MenuItem
author Frank Benoit <benoit@tionex.de>
date Mon, 04 Feb 2008 13:39:10 +0100
parents 41dbc4d9faab
children cca980503056
line wrap: on
line diff
--- a/dwt/DWTError.d	Mon Feb 04 12:57:51 2008 +0100
+++ b/dwt/DWTError.d	Mon Feb 04 13:39:10 2008 +0100
@@ -143,12 +143,12 @@
  */
 public void printStackTrace () {
     Stderr.formatln( "stacktrace follows (if feature compiled in)" );
-    foreach( msg; this ){
+    foreach( msg; info ){
         Stderr.formatln( "{}", msg );
     }
     if ( throwable !is null) {
         Stderr.formatln ("*** Stack trace of contained error ***"); //$NON-NLS-1$
-        foreach( msg; throwable ){
+        foreach( msg; throwable.info ){
             Stderr.formatln( "{}", msg );
         }
     }