cclose1 commented on issue #8953: URL: https://github.com/apache/netbeans/issues/8953#issuecomment-3573000103
Hi Matthias Thank you for your response and I've tested the issue I raised and the repeat definition results in an error indicator on the js file and the line in error identified in the file. In testing it I noticed something that indicates my analysis was in error in that when you go into the Chrome debugger there is an error message associated with line in error. I missed it because when testing I generate trace output to the console log. The error I saw was a consequence of code accessing something in the js file that was not generated as a result of incorrect use of a private variable. If I had scrolled further up the console log I would have seen the error that caused the later error. It is however better to have errors indicated before you run the code. This I guess is a consequence of Javascript not having a compilation stage that verifies the code is valid Javascript. Mind you I'm not what valid Javascript is, e.g. you can assign a string to a function. The assignment does not fail but any code that calls the function does. Hard to see this as an intended feature Do you want me to close this issue on GitHub? Regards Chris On Thu, Nov 20, 2025 at 7:15 PM Matthias Bläsing ***@***.***> wrote: > *matthiasblaesing* left a comment (apache/netbeans#8953) > <https://github.com/apache/netbeans/issues/8953#issuecomment-3559645109> > > @cclose1 <https://github.com/cclose1> please have a look at #9027 > <https://github.com/apache/netbeans/pull/9027>. That changeset should fix > many issues you raised. It is not a silver bullet, but ... > > You can test it with the nightly build from > https://github.com/apache/netbeans/suites/50403112397/artifacts/4631072624 > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/netbeans/issues/8953#issuecomment-3559645109>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABGZF25HXWWD2JYZVWGW3ED35YHM7AVCNFSM6AAAAACKE5KFJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTKNJZGY2DKMJQHE> > . > You are receiving this because you were mentioned.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
