chore: isNatLit => isRawNatLit

This commit is contained in:
Leonardo de Moura 2024-02-23 15:18:30 -08:00
parent 51fe66b9eb
commit 3ead33bd13

View file

@ -98,7 +98,7 @@ private partial def pushArgsAux (infos : Array ParamInfo) : Nat → Expr → Arr
- `Nat.succ x` where `isNumeral x`
- `OfNat.ofNat _ x _` where `isNumeral x` -/
private partial def isNumeral (e : Expr) : Bool :=
if e.isNatLit then true
if e.isRawNatLit then true
else
let f := e.getAppFn
if !f.isConst then false