on master help sign in
Remove a needless log

In rare situations this can slow things down and it doesn't tell us anything useful anyway.

commit5f22426dbdcfcddca23444da003fd11694bbeea6 authorEdwin Brady <ecb10@st-andrews.ac.uk> dateTue 23 Oct 2018, 10:12 (8 years ago) parentfaf1d67
1 file changed+1−4
src/Idris/Elab/Clause.hs+1−4
src/Idris/Elab/Clause.hs+1−4
@@ -720,12 +720,9 @@ elabClause info opts (cnum, PClause fc fname lhs_in_as withs rhs_in_as wherebloc
720720 [] (constraintNS info) fc id [] lhs_tm
721721 else return (lhs_tm, lhs_ty)
722722 let clhs = normalise ctxt [] clhs_c
723− let borrowed = borrowedNames [] clhs
724−
725723 -- These are the names we're not allowed to use on the RHS, because
726724 -- they're UniqueTypes and borrowed from another function.
727− when (not (null borrowed)) $
728− logElab 5 ("Borrowed names on LHS: " ++ show borrowed)
725+ let borrowed = borrowedNames [] clhs
729726
730727 logElab 3 ("Normalised LHS: " ++ showTmImpls (delabMV i clhs))
731728