[commit: ghc] master: Don't import TypeRep (db9248c)

Simon Peyton Jones simonpj at microsoft.com
Wed Feb 13 18:43:45 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/db9248caa60534015bc79d638c165d1afff1d2e6

>---------------------------------------------------------------

commit db9248caa60534015bc79d638c165d1afff1d2e6
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Feb 8 18:03:51 2013 +0000

    Don't import TypeRep

>---------------------------------------------------------------

 compiler/typecheck/TcRnDriver.lhs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/compiler/typecheck/TcRnDriver.lhs b/compiler/typecheck/TcRnDriver.lhs
index 484095d..c103385 100644
--- a/compiler/typecheck/TcRnDriver.lhs
+++ b/compiler/typecheck/TcRnDriver.lhs
@@ -25,7 +25,6 @@ module TcRnDriver (
 import {-# SOURCE #-} TcSplice ( tcSpliceDecls )
 #endif
 
-import TypeRep
 import DynFlags
 import StaticFlags
 import HsSyn
@@ -1514,7 +1513,7 @@ isGHCiMonad hsc_env ictxt ty
                 let name = gre_name n
                 ghciClass <- tcLookupClass ghciIoClassName 
                 userTyCon <- tcLookupTyCon name
-                let userTy = TyConApp userTyCon []
+                let userTy = mkTyConApp userTyCon []
                 _ <- tcLookupInstance ghciClass [userTy]
                 return name
 





More information about the ghc-commits mailing list