Mercurial Hosting > luan
changeset 461:e12841f7edef
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 06 May 2015 14:51:23 -0600 |
parents | b48cfa14ba60 |
children | 2e79b47d02a2 |
files | core/src/luan/LuanBit.java core/src/luan/StackTraceElement.java |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/core/src/luan/LuanBit.java Wed May 06 14:32:29 2015 -0600 +++ b/core/src/luan/LuanBit.java Wed May 06 14:51:23 2015 -0600 @@ -18,13 +18,10 @@ public String stackTrace() { StringBuilder buf = new StringBuilder(); - LuanElement el = this.el; if( el != null ) buf.append( "\n\t" ).append( el.toString(null) ); for( int i = luan.stackTrace.size() - 1; i>=0; i-- ) { - StackTraceElement stackTraceElement = luan.stackTrace.get(i); - el = stackTraceElement.call; - buf.append( "\n\t" ).append( el.toString(stackTraceElement.fnName) ); + buf.append( "\n\t" ).append( luan.stackTrace.get(i) ); } return buf.toString(); }