as3hx icon indicating copy to clipboard operation
as3hx copied to clipboard

Blocks do not adhere to bracesOnNewline flag

Open AdamHarte opened this issue 11 years ago • 0 comments
trafficstars

  1. Set bracesOnNewline flag to true in the config file.
  2. Run as3hx on the test folder.
  3. The outputted code does not seem to have the braces on the new line.

Look at Loops.hx for example:

for (i in 0..._numButtons){
    var btn : ArcButton = new ArcButton();
    btn.id = i;
    if (btn.name != null)               {i++;continue;
    };
    trace(i);
}

AdamHarte avatar May 03 '14 06:05 AdamHarte