summaryrefslogtreecommitdiff
path: root/compiler/main/HscMain.hs
diff options
context:
space:
mode:
authorPatrick Palka <patrick@parcs.ath.cx>2013-03-07 11:39:10 -0500
committerSimon Peyton Jones <simonpj@microsoft.com>2013-03-15 11:16:24 +0000
commitca39e777907f8b16d8ede82e040b6f17fad99c9e (patch)
tree73ddc04893feecb89352efc82886e25414f41a29 /compiler/main/HscMain.hs
parent5319ea79fa1572b7d411548532031f9d19b928c6 (diff)
downloadhaskell-ca39e777907f8b16d8ede82e040b6f17fad99c9e.tar.gz
Implement type family instance support for ":info" (#4175)
v2: added a couple of comments
Diffstat (limited to 'compiler/main/HscMain.hs')
-rw-r--r--compiler/main/HscMain.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/HscMain.hs b/compiler/main/HscMain.hs
index 90a42fb18e..c97e3ec724 100644
--- a/compiler/main/HscMain.hs
+++ b/compiler/main/HscMain.hs
@@ -303,7 +303,7 @@ hscTcRcLookupName hsc_env0 name = runInteractiveHsc hsc_env0 $ do
-- "name not found", and the Maybe in the return type
-- is used to indicate that.
-hscTcRnGetInfo :: HscEnv -> Name -> IO (Maybe (TyThing, Fixity, [ClsInst]))
+hscTcRnGetInfo :: HscEnv -> Name -> IO (Maybe (TyThing, Fixity, [ClsInst], [FamInst Branched]))
hscTcRnGetInfo hsc_env0 name = runInteractiveHsc hsc_env0 $ do
hsc_env <- getHscEnv
ioMsgMaybe' $ tcRnGetInfo hsc_env name