Mercurial Hosting > luan
diff core/src/luan/impl/LuanJavaCompiler.java @ 652:067d9470184d
compile SetStmt and ForStmt
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 04 Apr 2016 23:26:06 -0600 |
parents | d658eab7bf4c |
children | e038905512d3 |
line wrap: on
line diff
--- a/core/src/luan/impl/LuanJavaCompiler.java Fri Apr 01 17:24:44 2016 -0600 +++ b/core/src/luan/impl/LuanJavaCompiler.java Mon Apr 04 23:26:06 2016 -0600 @@ -51,7 +51,7 @@ StringWriter out = new StringWriter(); boolean b = compiler.getTask(out, fjfm, null, null, null, Collections.singletonList(sourceFile)).call(); if( !b ) - throw new RuntimeException("\n"+out); + throw new RuntimeException("\n"+out+"\ncode:\n"+code+"\n"); byte[] byteCode = baos.toByteArray(); int max = byteCode.length-len-3; outer: