[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading into the current package.



	; Absolutely no mention of packages
	.
	.
	foo
	P1::bar

Now let's say that's compiled in package P1.  Once the reader is done, 
both symbols will be in package P1.  The compiler won't be able to tell 
that one was unqualified and one was explicitly qualified with P1, so 
they both look unqualified.

And then the fastload file is loaded into package P2.  Oops!  Assuming 
the compiler causes unqualified symbols to end up in the current 
package, then both will end up in P2.  Or, if it causes unqualified 
symbols to end up in the package in which the compilation was performed, 
then both will end up in P1 (which may not even be around).

There is something wrong with a file that doesn't mention packages.
This is just the rim of the compilation environment wormcan.

- Paul
------