carlosrovira commented on issue #155: URL: https://github.com/apache/royale-compiler/issues/155#issuecomment-675355817
Hi Josh, I still can reproduce this problem. You can reproduce in the following project: https://github.com/codeoscopic/avant2-website If you go to: https://github.com/codeoscopic/avant2-website/blob/b6226bfb25bcac8b6856951ea6d95927aac61ce4/avant2-products-companies/src/main/royale/com/codeoscopic/avant/vos/Product.as and duplicate the line : `public var wip:Boolean;`and compile you'll get: ``` [INFO] --- royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) @ avant2-products-companies --- [INFO] Executing MXMLC in tool group Royale with args: [-load-config=/Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/target/compile-app-config.xml, -js-default-initializers=true, -source-map=true, -compiler.exclude-defaults-css-files=MXRoyale-0.9.8-SNAPSHOT-js.swc:defaults.css, -keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient, -keep-code-with-metadata=Inject, -js-dynamic-access-unknown-members=true, -js-output=/Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/target/javascript, -compiler.targets=JSRoyale, /Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/App.mxml] can't get watcher for /Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/com/codeoscopic/avant/controllers/CompanyController.as(164): col: 15 Error: Ambiguous reference to wip product.wip = true; ^ /Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/com/codeoscopic/avant/renderers/ProductDataContainerItemRenderer.mxml(51): col: 76 Error: Ambiguous reference to wip <js:FontAwesomeIcon text="{FontAwesome5IconType.COG}" visible="{product.wip}" ^ /Users/carlosrovira/Dev/Codeoscopic/Source/avant2-website/avant2-products-companies/src/main/royale/com/codeoscopic/avant/renderers/TableCollectionPropertyItemRenderer.mxml(53): col: 49 Error: Ambiguous reference to wip if(!wipExist && product.wip) ^ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.484 s [INFO] Finished at: 2020-08-18T10:55:20+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.royale.compiler:royale-maven-plugin:0.9.8-SNAPSHOT:compile-app (default-compile-app) on project avant2-products-companies: There were errors during the build. Got return code 3 -> [Help 1] ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
