Re: Iterate thru object properties in release build

2023-04-03 Thread Greg Dove
Hey Hugo, What exactly is the 'this' instance? If it is a Royale class, then you do have the option of using the Reflection lib. On Tue, Apr 4, 2023 at 11:25 AM Hugo Ferreira wrote: > Hi, > > This works on debug build: > > for (var field:String in this) > { > if (Strings.endsWith(field,

Iterate thru object properties in release build

2023-04-03 Thread Hugo Ferreira
Hi, This works on debug build: for (var field:String in this) { if (Strings.endsWith(field, "_")) field = field.substr(0, field.length - 1); } Because the value object preserves all the variables, however in release build this does not work anymore because the build release change all var

Re: 0.9.10 Release

2023-04-03 Thread Josh Tynjala
Yes, it's on by default. I guess that there must be some other reason why the builds don't match up. I just happened to notice this, in particular, was different between the Ant build and the Maven build. You may need to extract the .swc files and manually compare the contents to see what is diff