id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
692	PBC to PIR fallback fails.	coke	jkeenan	"{{{
$ which parrot
/usr/local/bin/parrot
$ parrot --version
This is Parrot version 1.2.0 built for i386-linux.
Copyright (C) 2001-2009, Parrot Foundation.

This code is distributed under the terms of the Artistic License 2.0.
For more details, see the full text of the license in the LICENSE file
included in the Parrot source tree.

$ cat foo.pir
.sub main :main
  load_bytecode 'Tcl/Glob.pbc'
.end
$ parrot foo.pir
PackFile_unpack: This is not a valid Parrot bytecode file
Parrot VM: Can't unpack packfile /usr/local/lib/parrot/1.2.0/library/Tcl/Glob.pir.
Unable to append PBC to the current directory
current instr.: 'main' pc 0 (foo.pir:2)
}}}

NotFound++ suggests that it's falling back on the /filename/, but not the expected content type, and is then trying to load the .pir file as if it were a .pbc.

"	bug	closed	normal		testing	1.2.0	medium	fixed					
