on master help sign in
Merge pull request #1622 from edwinb/case-fix

Case fix

commit2f268924654894547e39f9e0b979bbafd27955f3 authorEdwin Brady <edwin.brady@gmail.com> dateSun 12 Oct 2014, 13:39 (12 years ago) parent8e26550e1d40fc
1 file changed+4
src/Idris/ElabTerm.hs+4
src/Idris/ElabTerm.hs+4
@@ -696,6 +696,10 @@ elab ist info emode opts fn tm
696696 letbind scvn (Var tyn) (Var valn)
697697 focus valn
698698 elabE (True, a, inty, qq) scr
699+ -- Solve any remaining implicits - we need to solve as many
700+ -- as possible before making the 'case' type
701+ unifyProblems
702+ matchProblems True
699703 args <- get_env
700704 envU <- mapM (getKind args) args
701705 let namesUsedInRHS = nub $ scvn : concatMap (\(_,rhs) -> allNamesIn rhs) opts