Hi Josh, I tried with: -js-compiler-option=suspiciousCode Also with other ways without result.
My full additionOptions line: "additionalOptions": "-warn-duplicate-variable-def=false -remove-circulars -js-compiler-option=suspiciousCode -js-output-optimization=skipAsCoercions -compiler.exclude-defaults-css-files=MXRoyale-0.9.13-js.swc:defaults.css -keep-as3-metadata+=Transient,MaxLength,Required,TableColumn,Percentage -js-dynamic-access-unknown-members=true -define+=CONFIG::DEBUG,false", Thanks. Josh Tynjala <[email protected]> escreveu (quarta, 26/11/2025 à(s) 18:17): > Hi Hugo, > > This warning comes from Google Closure Compiler, which we use for JS > minification. > > You can use the -js-compiler-option to pass additional options to Closure > Compiler. > > > https://apache.github.io/royale-docs/compiler/compiler-options#js-compiler-option > > There seems to be options for disabling certain categories of warnings. > > https://github.com/google/closure-compiler/wiki/Warnings > > -- > Josh Tynjala > Bowler Hat LLC > https://bowlerhat.dev/ > > > On Wed, Nov 19, 2025 at 11:24 AM Hugo Ferreira <[email protected]> > wrote: > > > Hi, > > > > How to ignore this kind of warning: WARNING - Suspicious code ? > > > > Regards, > > Hugo. > > >
