No problem. They were just warnings I had been ignoring so far, but I decided to take the opportunity to clean things up. I'm currently refactoring some parts (migrating from AMF3 to REST, etc ...), so it made sense to address this as well.
Thanks. Harbs <[email protected]> escreveu (quinta, 9/04/2026 à(s) 18:38): > Not sure why tyou are getting thsat error. The other one comes froms this > code in UIComponent: > > else if ((_toolTip == null || _toolTip == "") && > _toolTipBead != null) { > } > > That code block does nothing and should probably be removed. > > > On Apr 9, 2026, at 8:33 PM, Hugo Ferreira <[email protected]> > wrote: > > > > My full settings: "additionalOptions": > "-warn-duplicate-variable-def=false > > -remove-circulars -js-output-optimization=skipAsCoercions > > -compiler.exclude-defaults-css-files=MXRoyale-1.0.0-js.swc:defaults.css > > -keep-as3-metadata+=Transient,MaxLength,Required,TableColumn,Percentage > > -js-dynamic-access-unknown-members=true -define+=CONFIG::DEBUG,false", > > > > Harbs <[email protected]> escreveu (quinta, 9/04/2026 à(s) 13:00): > > > >>> WARNING - > pt.solidsoft.gc.accounting.controller.SupplierInvoiceController > >>> defined before its owner. pt.solidsoft.gc.accounting.controller is > >> defined > >> > >> Are you compiling with remove-circulars=true? > >> > >> > >>> On Apr 7, 2026, at 1:54 PM, Hugo Ferreira <[email protected]> > >> wrote: > >>> > >>> Hi, > >>> > >>> How to ignore this warnings: > >>> > >>> Apr 07, 2026 11:53:18 AM > com.google.javascript.jscomp.LoggerErrorManager > >>> println > >>> WARNING: > /Users/xxxxxx/FrontEnd/bin/js-debug/mx/core/UIComponent.js:4243: > >>> Originally at: > >>> > /Users/xxxxxx/FrontEnd/bin/js-debug/mx/core/mx/core/UIComponent.as:3867: > >>> WARNING - Suspicious code. This code lacks side-effects. Is there a > bug? > >>> > >>> Apr 07, 2026 11:53:18 AM > com.google.javascript.jscomp.LoggerErrorManager > >>> println > >>> WARNING: > >>> > >> > /Users/xxxxxx/FrontEnd/bin/js-debug/pt/solidsoft/gc/accounting/view/BatchInsertSupplierInvoiceView.js:3412: > >>> WARNING - > pt.solidsoft.gc.accounting.controller.SupplierInvoiceController > >>> defined before its owner. pt.solidsoft.gc.accounting.controller is > >> defined > >>> at > >>> > >> > /Users/xxxxxx/GC/FrontEnd/bin/js-debug/pt/solidsoft/gc/accounting/controller/AccountingConferenceController.js:10 > >>> pt.solidsoft.gc.accounting.controller.SupplierInvoiceController, > >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >>> > >>> Apr 07, 2026 11:53:18 AM > com.google.javascript.jscomp.LoggerErrorManager > >>> printSummary > >>> WARNING: 0 error(s), 2 warning(s), 98.4% typed > >>> The project 'App' has been successfully compiled and optimized. > >>> 55.671909 seconds > >>> * Terminal will be reused by tasks, press any key to close it. > >> > >> > >
