fix: ToLCNF visitNoConfusion
This commit is contained in:
parent
67e2735f07
commit
691afbfdc8
1 changed files with 2 additions and 1 deletions
|
|
@ -629,7 +629,8 @@ where
|
|||
let major := mkAppN major args[arity+1:]
|
||||
visit major
|
||||
else
|
||||
mkUnreachable (← inferType e)
|
||||
let type ← toLCNFType (← liftMetaM <| Meta.inferType e)
|
||||
mkUnreachable type
|
||||
| _, _ =>
|
||||
throwError "code generator failed, unsupported occurrence of `{declName}`"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue