@@ -843,8 +843,7 @@ elabValBind :: ElabInfo -> Bool -> PTerm -> Idris (Term, Type, [(Name, Type)])
843843elabValBind info aspat tm_in
844844 = do ctxt <- getContext
845845 i <- getIState
846− let tm = if aspat then addImplPat i tm_in
847− else addImpl i tm_in
846+ let tm = addImpl i tm_in
848847 logLvl 10 (showImp Nothing True False tm)
849848 -- try:
850849 -- * ordinary elaboration
@@ -855,7 +854,7 @@ elabValBind info aspat tm_in
855854-- tctry (elaborate ctxt (MN 0 "val") (TType (UVal 0)) []
856855-- (build i info aspat (MN 0 "val") tm))
857856 tclift (elaborate ctxt (MN 0 "val") infP []
858− (buildTC i info aspat False (MN 0 "val") (infTerm tm)))
857+ (build i info aspat (MN 0 "val") (infTerm tm)))
859858 let vtm = orderPats (getInferTerm tm')
860859
861860 def' <- checkDef (fileFC "(input)") defer