diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-31 17:33:54 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-31 17:33:54 +0000 |
commit | 81466110ff8104ca60e20d617bab83f6f78f0ec2 (patch) | |
tree | bf6432b8838cbd01c6c2a2a00c39f4af5e462fb9 /compiler/main/HeaderInfo.hs | |
parent | e61fe59d9567fbad053a87f897e6c8198dc95794 (diff) | |
download | haskell-81466110ff8104ca60e20d617bab83f6f78f0ec2.tar.gz |
Follow changes in the base library
TopHandler now uses the new extensible exceptions module, so we
need to interact with it using the new types.
Diffstat (limited to 'compiler/main/HeaderInfo.hs')
-rw-r--r-- | compiler/main/HeaderInfo.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/HeaderInfo.hs b/compiler/main/HeaderInfo.hs index dc061ba553..d0e30e0617 100644 --- a/compiler/main/HeaderInfo.hs +++ b/compiler/main/HeaderInfo.hs @@ -70,7 +70,7 @@ getImports dflags buf filename source_filename = do return (source_imps, ordinary_imps, mod) parseError :: SrcSpan -> Message -> a -parseError span err = throwDyn $ mkPlainErrMsg span err +parseError span err = throwErrMsg $ mkPlainErrMsg span err isSourceIdecl :: ImportDecl name -> Bool isSourceIdecl (ImportDecl _ s _ _ _) = s |