You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/08 12:38:26 UTC

[GitHub] [netbeans] qmegas opened a new issue, #4209: Incorrect variable highlighting in PHP arrow function

qmegas opened a new issue, #4209:
URL: https://github.com/apache/netbeans/issues/4209

   ### Apache NetBeans version
   
   Apache NetBeans 13
   
   ### What happened
   
   When there is a ternary operator inside arrow function in PHP then variable highlighting works incorrectly.
   
   Example code:
   
   ```php
   $a = 5;
   $b = fn() => $a > 5 ? $a + 1 : 10;
   ```
   
   When put cursor on variable `$a` on first line, then first `$a` variable inside arrow function is also highlighted (which is correct), but second variable doesn't (which is incorrect). Same bug happens when put cursor on variables inside arrow function.
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   No
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   16.0.1
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
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: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] junichi11 commented on issue #4209: Incorrect variable highlighting in PHP arrow function

Posted by GitBox <gi...@apache.org>.
junichi11 commented on issue #4209:
URL: https://github.com/apache/netbeans/issues/4209#issuecomment-1150673175

   Reproducible. Thanks for reporting it :)


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] tmysik closed issue #4209: Incorrect variable highlighting in PHP arrow function

Posted by GitBox <gi...@apache.org>.
tmysik closed issue #4209: Incorrect variable highlighting in PHP arrow function
URL: https://github.com/apache/netbeans/issues/4209


-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists