allow ~ to work correctly on literals with static, dynamic, and mixed
module specs.
Authored by: kifer 2001-09-13
Parent: [r2668]
Child: [r2670]