junichi11 opened a new pull request #3340:
URL: https://github.com/apache/netbeans/pull/3340


   https://issues.apache.org/jira/browse/NETBEANS-5599
   
   RFC: https://wiki.php.net/rfc/noreturn_type
   
   - Convert from UnusableTypesUnhandledError to UnusableTypesHintError
   
   (Part 1)
   - Add `hasNeverType()` to `PhpVersion`
   - Fix the lexer
   - Mark as an error if something is returned when the return type is `never`
   - Mark as an error if `never` is used at incorrect places (e.g. private 
never $propertyType)
   - Add unit tests for the lexer and hints
   
   (Part 2)
   - Fix the code completion
   - Add and fix unit tests for the code completion
   
   #### Screenshot
   
![nb-php81-never-type](https://user-images.githubusercontent.com/738383/143730198-ac3ae22e-d256-4095-9d64-6751a9e24507.png)
   
   
   


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