on master help sign in
Don't give INTERNAL ERROR when abandoning a proof
commitd95808effd69fc6e52fb08049a035c73410bdc3e authorEdwin Brady <ecb10@st-andrews.ac.uk> dateSat 1 Feb 2014, 17:26 (13 years ago) parentb1f049b
1 file changed+2−2
src/Idris/Prover.hs+2−2
src/Idris/Prover.hs+2−2
@@ -179,10 +179,10 @@ ploop d prompt prf e h
179179 i <- receiveInput e
180180 return (i, h)
181181 (cmd, step) <- case x of
182− Nothing -> do iPrintError ""; fail "Abandoned"
182+ Nothing -> do iPrintError ""; ifail "Abandoned"
183183 Just input -> do return (parseTactic i input, input)
184184 case cmd of
185− Success Abandon -> do iPrintError ""; fail "Abandoned"
185+ Success Abandon -> do iPrintError ""; ifail "Abandoned"
186186 _ -> return ()
187187 (d, st, done, prf') <- idrisCatch
188188 (case cmd of