id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
1596	PIR methods fail to be added to PMCs unless marked :nsentry	jonathan		"The reason that Rakudo won't build on current Parrot 
(OK, it may not be the _only_ reason, but it's certainly the current blocker) boils down to the following:

{{{
.HLL 'perl6'
.namespace []
.sub 'main' :main
    $P0 = new 'ResizablePMCArray'
    $P0.'HOW'()
.end

.HLL 'parrot'
.namespace [""ResizablePMCArray""]
# XXX If you remove :nsentry here, we fail.
.sub 'HOW' :method :nsentry
    say ""ok""
.end
}}}

Got it down to PIR only with no Rakudo-y bits, so hopefully it's easy to work with. Essentially, you should be able to add methods to PMCs without having to also have them live in the namespace. This seems to be fallout from the :nsentry work, which is great, but unfortunately we're kinda blocked on this bug in it.

Thanks,

Jonathan
"	bug	closed	blocker		core	trunk	medium	fixed			perl6		all
