cclose1 commented on issue #8953: URL: https://github.com/apache/netbeans/issues/8953#issuecomment-3447699068
Hi Matthias Thanks for your response. At the time I was aware that to use the term compile was inappropriate. But there does seem to be an inadequacy in the handling of private class variables. E.g. in the example, if I had used _var1 instead of #var1, there would not have been a problem, as it seems the second _var1 is ignored. I now know that if the js file is not listed by the debugger, I need to work out what I've done wrong. This can be difficult as I'm not sure what the rules are. Given that private class properties were introduced about 2023, perhaps the handling of them has not been fully worked out. Failing to generate the js file is a less than helpful response. I find it hard to believe that I'm the first person to raise an issue about this. I would be interested to know if that is the case. I now feel I know enough to solve such problems in the future, but a little help would be appreciated. Regards Chris On Sat, Oct 25, 2025 at 12:19 PM Matthias Bläsing ***@***.***> wrote: > *matthiasblaesing* left a comment (apache/netbeans#8953) > <https://github.com/apache/netbeans/issues/8953#issuecomment-3446567148> > > There is no compile step in the build phase. JS is copied to the final war > and delivered to the browser, which then intprets it. > > But! It should be possible to detect duplicate private declarations on the > parser level. > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/netbeans/issues/8953#issuecomment-3446567148>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABGZF24EH7UOUSKQ3TZQYWT3ZNMDBAVCNFSM6AAAAACKE5KFJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTINBWGU3DOMJUHA> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
