chore: protect Std.BitVec (#3884)

This makes `Std.BitVec` a protected abbreviation so `open Std` doesn't
result in ambiguity errors.
This commit is contained in:
Joe Hendrix 2024-04-12 07:09:46 +02:00 committed by GitHub
parent cd02ad76f1
commit 2e3d523332
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,7 +34,7 @@ structure BitVec (w : Nat) where
O(1), because we use `Fin` as the internal representation of a bitvector. -/
toFin : Fin (2^w)
@[deprecated] abbrev Std.BitVec := _root_.BitVec
@[deprecated] protected abbrev Std.BitVec := _root_.BitVec
-- We manually derive the `DecidableEq` instances for `BitVec` because
-- we want to have builtin support for bit-vector literals, and we