[project @ 1999-11-02 10:31:54 by simonpj]
authorsimonpj <unknown>
Tue, 2 Nov 1999 10:31:54 +0000 (10:31 +0000)
committersimonpj <unknown>
Tue, 2 Nov 1999 10:31:54 +0000 (10:31 +0000)
Fix bug in instance Dynamic (Either a b)

ghc/lib/exts/Dynamic.lhs

index f83b0b5..69d160f 100644 (file)
@@ -269,7 +269,7 @@ instance (Typeable a, Typeable b) => Typeable (Either a b) where
     where
       getL :: Either a b -> a
       getL = undefined
-      getR :: Either a b -> a
+      getR :: Either a b -> b
       getR = undefined
 
 instance (Typeable a, Typeable b) => Typeable (a -> b) where