@@ -233,20 +233,20 @@ data Phase = CompileTime | RunTime
233233-- Generate a simple case tree
234234-- Work Right to Left
235235
236−simpleCase :: Bool -> Bool -> Bool ->
236+simpleCase :: Bool -> SC -> Bool ->
237237 Phase -> FC -> [Int] -> [Type] ->
238238 [([Name], Term, Term)] ->
239239 ErasureInfo ->
240240 TC CaseDef
241−simpleCase tc cover reflect phase fc inacc argtys cs erInfo
242− = sc' tc cover phase fc (filter (\(_, _, r) ->
241+simpleCase tc defcase reflect phase fc inacc argtys cs erInfo
242+ = sc' tc defcase phase fc (filter (\(_, _, r) ->
243243 case r of
244244 Impossible -> False
245245 _ -> True) cs)
246246 where
247− sc' tc cover phase fc []
247+ sc' tc defcase phase fc []
248248 = return $ CaseDef [] (UnmatchedCase "No pattern clauses") []
249− sc' tc cover phase fc cs
249+ sc' tc defcase phase fc cs
250250 = let proj = phase == RunTime
251251 vnames = fstT (head cs)
252252 pats = map (\ (avs, l, r) ->
@@ -258,7 +258,7 @@ simpleCase tc cover reflect phase fc inacc argtys cs erInfo
258258 ns = take numargs args
259259 (ns', ps') = order [(n, i `elem` inacc) | (i,n) <- zip [0..] ns] pats
260260 (tree, st) = runCaseBuilder erInfo
261− (match ns' ps' (defaultCase cover))
261+ (match ns' ps' defcase)
262262 ([], numargs, [])
263263 t = CaseDef ns (prune proj (depatt ns' tree)) (fstT st) in
264264 if proj then return (stripLambdas t)