on master help sign in
Merge pull request #1380 from david-christiansen/no-trace-on-with

Get rid of `trace` in error def

commitb7756f2d23f5c0a1ddab1681c5794656230bb932 authorDavid Christiansen <david@davidchristiansen.dk> dateFri 11 Jul 2014, 14:37 (12 years ago) parentec228a01cdd0df
1 file changed+1−1
src/Idris/ElabDecls.hs+1−1
src/Idris/ElabDecls.hs+1−1
@@ -1830,7 +1830,7 @@ elabClause info opts (_, PWith fc fname lhs_in withs wval_in withblock)
18301830 logLvl 2 ("Matching " ++ showTmImpls tm ++ " against " ++
18311831 showTmImpls toplhs)
18321832 case matchClause i toplhs tm of
1833− Left (a,b) -> trace ("matchClause: " ++ show a ++ " =/= " ++ show b) (ifail $ show fc ++ ":with clause does not match top level")
1833+ Left (a,b) -> ifail $ show fc ++ ":with clause does not match top level"
18341834 Right mvars ->
18351835 do logLvl 3 ("Match vars : " ++ show mvars)
18361836 lhs <- updateLHS n wname mvars ns ns' (fullApp tm) w