There is a small bug when
Leave block on a single line is unchecked. Consider the following code...
public function Foo():void
{
var abc:Object = {xyz:123};
{x += 5; y += 7;}
return {test:true, bar:10};
}
gets converted into...
public function Foo():void
{
var abc:Object = {xyz:123};
{
x += 5;
y += 7;
}
return
{
test:true, bar:10
}
;
}
The problem is with the return statement. It is a statement (like the
var abc...) but it is being treated like a block.
Please fix.
Thanks,
Jason