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

   ### Description
   
   
![Image](https://github.com/user-attachments/assets/82efc422-2371-45ec-9e89-4878c746e3f2)
   
   `<?php
   trait FactoryTrait{
        public static function match($s){
                echo $s;
        }
   }
   
   final class Stage
   {
       use FactoryTrait {
           match as private generatedMatch;
       }
   
       public static function match($s)
       {
           return self::generatedMatch($s);
       }
   }
   
   Stage::match("OK");`
   
   ### Use case/motivation
   
   The editor prompts for a syntax error, but it can actually be resolved 
through the compiler
   
   ### Related issues
   
   _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