@@ -951,7 +951,7 @@ addCasedef n ei ci@(CaseInfo inline alwaysInline tcdict)
951 ( CaseDef args_ct sc_ct _,
951 ( CaseDef args_ct sc_ct _,
952 CaseDef args_rt sc_rt _) ->
952 CaseDef args_rt sc_rt _) ->
953 let inl = alwaysInline -- tcdict
953 let inl = alwaysInline -- tcdict
954− inlc = (inl || small n args_ct sc_ct) && (not asserted)
954+ inlc = (inl || small n args_rt sc_rt) && (not asserted)
955 cdef = CaseDefs (args_ct, sc_ct)
955 cdef = CaseDefs (args_ct, sc_ct)
956 (args_rt, sc_rt)
956 (args_rt, sc_rt)
957 op = (CaseOp (ci { case_inlinable = inlc })
957 op = (CaseOp (ci { case_inlinable = inlc })