fix: getMkMatcherInputInContext

This commit is contained in:
Leonardo de Moura 2022-04-29 12:44:36 -07:00
parent 95ea0b92ea
commit 941ad84ece

View file

@ -890,7 +890,7 @@ def getMkMatcherInputInContext (matcherApp : MatcherApp) : MetaM MkMatcherInput
fvarDecls := localDecls.toList
patterns := patterns.toList : Match.AltLHS }
return { matcherName, matchType, discrInfos := mkArray matcherApp.discrs.size {}, lhss }
return { matcherName, matchType, discrInfos := matcherInfo.discrInfos, lhss }
def withMkMatcherInput