[project @ 2003-01-29 07:54:46 by panne]
[haskell-directory.git] / GHC / IOBase.lhs
index 0626870..72cf045 100644 (file)
@@ -751,7 +751,7 @@ instance Eq IOErrorType where
    x == y = 
      case x of
        DynIOError{} -> False -- from a strictness POV, compatible with a derived Eq inst?
-       _ -> getTag# x ==# getTag# y
+       _ -> getTag x ==# getTag y
  
 instance Show IOErrorType where
   showsPrec _ e =