excolo-rick opened a new issue, #5919:
URL: https://github.com/apache/netbeans/issues/5919

   ### Apache NetBeans version
   
   Apache NetBeans 17
   
   ### What happened
   
   A javascript function call with `import.meta.url` as a parameter gets 
interpretted by the syntax formatter as an out-of-place `import` statement. 
This shows the js file as containing an error, even though it doesn't.
   
   ### How to reproduce
   
   In a javascript file:
   `(() => {})(import.meta.url);`
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Window 11
   
   ### JDK
   
   18
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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

Reply via email to