X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FbasicTypes%2FVar.lhs;h=f2bef26ba2d57e77ee6a92555705150239b94c30;hp=cd21b9dd9fc95fde223a6ea21ca19da5a0c30a94;hb=ad94d40948668032189ad22a0ad741ac1f645f50;hpb=8ffdb8eed6b38db00761093889f5cddbe8ca1d60 diff --git a/compiler/basicTypes/Var.lhs b/compiler/basicTypes/Var.lhs index cd21b9d..f2bef26 100644 --- a/compiler/basicTypes/Var.lhs +++ b/compiler/basicTypes/Var.lhs @@ -5,6 +5,13 @@ \section{@Vars@: Variables} \begin{code} +{-# OPTIONS -w #-} +-- 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 +-- for details + module Var ( Var, varName, varUnique, varType, @@ -201,7 +208,8 @@ mkTyVar name kind = ASSERT( not (isCoercionKind kind ) ) mkTcTyVar :: Name -> Kind -> TcTyVarDetails -> TyVar mkTcTyVar name kind details - = ASSERT( not (isCoercionKind kind) ) + = -- TOM: no longer valid assertion? + -- ASSERT( not (isCoercionKind kind) ) TcTyVar { varName = name, realUnique = getKey# (nameUnique name), varType = kind,