#1492: Get_class <namespace> confuses NSes that have same final name.
-----------------------------+----------------------------------------------
 Reporter:  Austin_Hastings  |       Owner:  whiteknight                
     Type:  bug              |      Status:  assigned                   
 Priority:  normal           |   Milestone:                             
Component:  core             |     Version:  2.1.0                      
 Severity:  high             |    Keywords:  namespace, class, get_class
     Lang:                   |       Patch:                             
 Platform:                   |  
-----------------------------+----------------------------------------------

Comment(by pmichaud):

 > In case (2) above, get_class<namespace> either returns the existing
 proxy, returns an existing class, or creates a new Class (not needing to
 ever worry about creating a PMCProxy or conflicting with an existing
 C-based PMC type name).


 IMO, get_class<namespace> should never automatically create a new Class
 PMC object.  It should return PMCNULL for non-existing classes.  (Built-in
 PMC types should be assumed to have a class object of some sort.)

 Pm

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1492#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to