Skip to content

Commit

Permalink
chore: isNatLit => isRawNatLit
Browse files Browse the repository at this point in the history
  • Loading branch information
leodemoura committed Feb 23, 2024
1 parent 51fe66b commit 3ead33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Meta/LazyDiscrTree.lean
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ead33b

Please sign in to comment.