chore: isNatLit => isRawNatLit
This commit is contained in:
parent
51fe66b9eb
commit
3ead33bd13
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue