Add a missing case to Show AsyncException
authorIan Lynagh <igloo@earth.li>
Tue, 5 Aug 2008 14:28:11 +0000 (14:28 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 5 Aug 2008 14:28:11 +0000 (14:28 +0000)
GHC/IOBase.lhs

index aa4af69..408364f 100644 (file)
@@ -747,6 +747,7 @@ instance Show AsyncException where
   showsPrec _ StackOverflow   = showString "stack overflow"
   showsPrec _ HeapOverflow    = showString "heap overflow"
   showsPrec _ ThreadKilled    = showString "thread killed"
+  showsPrec _ UserInterrupt   = showString "user interrupt"
 
 instance Show ArrayException where
   showsPrec _ (IndexOutOfBounds s)