From b73bc3a05a4ad306384dcb23a98b7cfceff80efc Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Thu, 29 Apr 1999 10:38:33 +0000
Subject: [PATCH] [project @ 1999-04-29 10:38:33 by simonm] indexArray# fix.

---
 ghc/compiler/main/CmdLineOpts.lhs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs
index 4f8d893a11c9..711c28dbd62d 100644
--- a/ghc/compiler/main/CmdLineOpts.lhs
+++ b/ghc/compiler/main/CmdLineOpts.lhs
@@ -574,8 +574,10 @@ isAmongSimpl on_switches		-- Switches mentioned later occur *earlier*
 	case (indexArray# stuff (tagOf_SimplSwitch switch)) of
 #if __GLASGOW_HASKELL__ < 400
 	  Lift v -> v
-#else
+#elif __GLASGOW_HASKELL__ < 403
 	  (# _, v #) -> v
+#else
+	  (# v #) -> v
 #endif
     }
   where
-- 
GitLab