Make various assertions work when !DEBUG
[ghc-hetmet.git] / compiler / main / CmdLineParser.hs
index 27a1409..3373143 100644 (file)
@@ -13,7 +13,7 @@
 -- The above warning supression flag is a temporary kludge.
 -- While working on this module you are encouraged to remove it and fix
 -- any warnings in the module. See
---     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
+--     http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
 -- for details
 
 module CmdLineParser (
@@ -24,9 +24,7 @@ module CmdLineParser (
 #include "HsVersions.h"
 
 import Util    ( maybePrefixMatch, notNull, removeSpaces )
-#ifdef DEBUG
-import Panic   ( assertPanic )
-#endif
+import Panic
 
 data OptKind m         -- Suppose the flag is -f
        = NoArg (m ())                  -- -f all by itself