NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Namespace code completion confusion


Joined: 21 Jan 2010
Posts: 5
Reply with quote
Using PHPed 5.95 Build 5988.

I have two simple namespaced classes:

Code:
<?php
namespace Test\Classes;

class Class1 {
   
   public $x;
   
   public function do_x() {
      
   }
}


Code:
<?php
namespace Test\Classes;

class Class2 {
   
   public $y;
   
   public function do_y(){
            
   }
}


Code complete gets confused in a third class in the following code. Expected suggested method should be $var->do_x()



This happens with or without @var

Could someone be kind as to try to replicate this? Am I doing something fundamentally wrong here or is it something else?
View user's profileFind all posts by leotardedheroSend private message
Namespace code completion confusion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic