Mercurial Hosting > luan
diff core/src/luan/impl/LuanJavaCompiler.java @ 658:e038905512d3
compile ReturnStmt
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 05 Apr 2016 18:38:29 -0600 |
parents | 067d9470184d |
children | 41f8fdbc3a0a |
line wrap: on
line diff
--- a/core/src/luan/impl/LuanJavaCompiler.java Tue Apr 05 17:37:54 2016 -0600 +++ b/core/src/luan/impl/LuanJavaCompiler.java Tue Apr 05 18:38:29 2016 -0600 @@ -52,7 +52,7 @@ boolean b = compiler.getTask(out, fjfm, null, null, null, Collections.singletonList(sourceFile)).call(); if( !b ) throw new RuntimeException("\n"+out+"\ncode:\n"+code+"\n"); - byte[] byteCode = baos.toByteArray(); + final byte[] byteCode = baos.toByteArray(); int max = byteCode.length-len-3; outer: for( int i=0; true; i++ ) {