fix: pp.analyze do not panic on bvar
This commit is contained in:
parent
4b57bc26b3
commit
d28419594e
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ partial def analyze (parentIsApp : Bool := false) : AnalyzeM Unit := do
|
|||
| Expr.letE .. => analyzeLet
|
||||
| Expr.lit .. => pure ()
|
||||
| Expr.mvar .. => pure ()
|
||||
| Expr.bvar .. => unreachable!
|
||||
| Expr.bvar .. => pure ()
|
||||
where
|
||||
analyzeApp := do
|
||||
let needsType := !(← read).knowsType && !(← okBottomUp? (← getExpr)).isSafe
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue