Chip Salzenberg <[EMAIL PROTECTED]> wrote:
The actual bug you've found seems unrelated to the use of the array of
strings (vs. a key), as substituting the key version:
$P0 = get_namespace ['']
still fails. Debugging in progress.
It looks like IMCC treats C< .namespace [''] > as the root HLL
namespace (and not as the namespace '' inside of that). So that's
where the bug really lies.
mini:~/Projects/parrot mdiep$ cat test.pir
.namespace ['']
.sub main :main
$P0 = get_namespace
$P0 = $P0.'name'()
$S0 = join "::", $P0
print $S0
print "\n"
end
.end
mini:~/Projects/parrot mdiep$ parrot test.pir
parrot
mini:~/Projects/parrot mdiep$
--
matt diephouse
http://matt.diephouse.com