@@ -188,7 +188,7 @@ saveInaccArgs n is = do
188188
189189 _ -> do
190190 putIState ist{ idris_optimisation =
191− addDef n (Optimise False False [] [] is) (idris_optimisation ist) }
191+ addDef n (Optimise False False [] [] is False) (idris_optimisation ist) }
192192 addIBC (IBCOpt n)
193193
194194-- Get the list of (index, name) of inaccessible arguments from the type.
@@ -951,7 +951,7 @@ elabClauses info fc opts n_in cs = let n = liftname info n_in in
951951 do ctxt <- getContext
952952 ist <- getIState
953953 let inacc = case lookupCtxt n (idris_optimisation ist) of
954− [Optimise _ _ _ _ inacc] -> map fst inacc
954+ [Optimise _ _ _ _ inacc _] -> map fst inacc
955955 _ -> []
956956 -- Check n actually exists, with no definition yet
957957 let tys = lookupTy n ctxt
@@ -989,7 +989,7 @@ elabClauses info fc opts n_in cs = let n = liftname info n_in in
989989 [oi] -> do let opts = addDef n (oi { collapsible = True })
990990 (idris_optimisation ist)
991991 putIState (ist { idris_optimisation = opts })
992− _ -> do let opts = addDef n (Optimise True False [] [] [])
992+ _ -> do let opts = addDef n (Optimise True False [] [] [] False)
993993 (idris_optimisation ist)
994994 putIState (ist { idris_optimisation = opts })
995995 addIBC (IBCOpt n)