@@ -5,8 +5,7 @@ Copyright :
55License : BSD3
66Maintainer : The Idris Community.
77-}
8−{-# LANGUAGE DeriveDataTypeable, DeriveGeneric, FlexibleInstances,
9− OverloadedStrings, StandaloneDeriving #-}
8+{-# LANGUAGE DeriveDataTypeable, OverloadedStrings, StandaloneDeriving #-}
109
1110module IRTS.JavaScript.LangTransforms( removeDeadCode
1211 ) where
@@ -30,8 +29,8 @@ import Data.Data
3029import Data.Generics.Uniplate.Data
3130import GHC.Generics (Generic)
3231
33−deriving instance Typeable (LAlt' LExp)
34−deriving instance Data (LAlt' LExp)
32+deriving instance Typeable a => Typeable (LAlt' a)
33+deriving instance Data a => Data (LAlt' a)
3534deriving instance Typeable FDesc
3635deriving instance Data FDesc
3736deriving instance Typeable LVar