We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7a7425 commit 52e3689Copy full SHA for 52e3689
1 file changed
Leanwuzla/Parser.lean
@@ -315,7 +315,7 @@ where
315
let i := i.serialize.toNat!
316
let (α, x) ← parseTerm x
317
let w := getBitVecWidth α
318
- return (mkBitVec (w + i), mkApp3 (.const ``BitVec.zeroExtend []) (mkNatLit w) (mkNatLit (w + i)) x)
+ return (mkBitVec (w + i), mkApp3 (.const ``BitVec.setWidth []) (mkNatLit w) (mkNatLit (w + i)) x)
319
if let sexp!{((_ sign_extend {i}) {x})} := e then
320
321
0 commit comments