chore: fix typo
invalide -> invalid
This commit is contained in:
parent
d408c835d2
commit
ccc09d9cbf
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ private def inferConstType (c : Name) (us : List Level) : MetaM Expr := do
|
|||
|
||||
private def inferProjType (structName : Name) (idx : Nat) (e : Expr) : MetaM Expr := do
|
||||
let failed {α} : Unit → MetaM α := fun _ =>
|
||||
throwError! "invalide projection{indentExpr (mkProj structName idx e)}"
|
||||
throwError! "invalid projection{indentExpr (mkProj structName idx e)}"
|
||||
let structType ← inferType e
|
||||
let structType ← whnf structType
|
||||
matchConstStruct structType.getAppFn failed fun structVal structLvls ctorVal =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue