Marek Gremblewski created NETBEANS-5201: -------------------------------------------
Summary: Valid JS treated as invalid by editor Key: NETBEANS-5201 URL: https://issues.apache.org/jira/browse/NETBEANS-5201 Project: NetBeans Issue Type: Bug Components: javascript - Editor Affects Versions: 12.2, 12.1 Reporter: Marek Gremblewski Fix For: 12.3 Attachments: image-2020-12-31-17-20-30-117.png !image-2020-12-31-17-20-30-117.png! Below is code snipped: {code:java} var fn = function () { var actions = new DSsysLibActionIndex.lib.ActionIndex(); actions.registerAction('asyncModalUpdateModelList', function (modal, params) { import('./actions/asyncModalUpdateModelList.js').then(function (Module) { var action = new Module.AsyncModalUpdateModelListAction(modal, params); action.run(); }); }); actions.registerAction('asyncModalUpdateAuthorityList', function (modal, params) { import('./actions/asyncModalUpdateAuthorityList.js').then(function (Module) { var action = new Module.AsyncModalUpdateAuthorityListAction(modal, params); action.run(); }); }); }; {code} What is more interesting error appears only on the very first occurrence. Next occurrence is treated as valid. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists