chore: fix test
This commit is contained in:
parent
d4d538cad8
commit
95ea0b92ea
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ def mkTester (elimName : Name) (majors : List Expr) (lhss : List AltLHS) (inProp
|
|||
generalizeTelescope majors.toArray fun majors => do
|
||||
let resultType := if inProp then mkConst `True /- some proposition -/ else mkConst `Nat
|
||||
let matchType ← mkForallFVars majors resultType
|
||||
Match.mkMatcher { matcherName := elimName, matchType, numDiscrs := majors.size, lhss }
|
||||
Match.mkMatcher { matcherName := elimName, matchType, discrInfos := mkArray majors.size {}, lhss }
|
||||
|
||||
def test (ex : Name) (numPats : Nat) (elimName : Name) (inProp : Bool := false) : MetaM Unit :=
|
||||
withDepElimFrom ex numPats fun majors alts => do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue