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

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


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

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

Reply via email to