Add ASSERTs to all calls of nameModule
authorsimonpj@microsoft.com <unknown>
Fri, 3 Oct 2008 13:53:34 +0000 (13:53 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 3 Oct 2008 13:53:34 +0000 (13:53 +0000)
commit66579ff945831c5fc9a17c58c722ff01f2268d76
treee0f632b523acf046e38d1cc67ea74a12f29a6993
parent766b34f81d81d009f1070e297756423fbadbd421
Add ASSERTs to all calls of nameModule

nameModule fails on an InternalName.  These ASSERTS tell you
which call failed.
16 files changed:
compiler/basicTypes/DataCon.lhs
compiler/basicTypes/RdrName.lhs
compiler/deSugar/DsMeta.hs
compiler/ghci/ByteCodeLink.lhs
compiler/ghci/InteractiveUI.hs
compiler/iface/BinIface.hs
compiler/iface/IfaceEnv.lhs
compiler/iface/LoadIface.lhs
compiler/iface/MkIface.lhs
compiler/iface/TcIface.lhs
compiler/main/HscTypes.lhs
compiler/prelude/TysWiredIn.lhs
compiler/rename/RnNames.lhs
compiler/typecheck/Inst.lhs
compiler/typecheck/TcSplice.lhs
compiler/types/Generics.lhs