fix: bug at toLCNF.visitMData
This commit is contained in:
parent
8a81dfb876
commit
bebce084fa
1 changed files with 1 additions and 1 deletions
|
|
@ -714,7 +714,7 @@ where
|
|||
return .fvar funDecl.fvarId
|
||||
|
||||
visitMData (mdata : MData) (e : Expr) : M Expr := do
|
||||
if let some (.app (.lam n t b ..) v) := letFunAnnotation? e then
|
||||
if let some (.app (.lam n t b ..) v) := letFunAnnotation? (.mdata mdata e) then
|
||||
visitLet (.letE n t v b (nonDep := true)) #[]
|
||||
else if isCompilerRelevantMData mdata then
|
||||
mkAuxLetDecl <| .mdata mdata (← visit e)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue