I'm working on http://rt.perl.org/rt3/Ticket/Display.html?id=48631
I've added parsing of :namespace to imcc, now I'm trying to figure out what I'm suppose to do differently when :namespace is present in a methods prototype. I thought I was suppose to add the :method to a namespace, but that seems to already work.
I must be missing something, an example test case would be helpful.

The following code finds the method 't' in the 'GOOBER' namespace and successfully prints:
YES
HELLO

I thought that :method subs were not suppose to be accessible from the namespace.

Kevin

.namespace ['GOOBER' ]

.sub t :method
   print self
   print "\n"
.end

.namespace ['LOOSER' ]
.sub main :main
   find_global $P0, 'GOOBER', 't'
   $I0 = defined $P0
   unless $I0 goto no
   print "Yes\n"
   $P0("HELLO")
   goto end
 no:
   print "No\n"
 end:
.end

Reply via email to