File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
core/shared/src/main/scala-3/scodec/bits Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ private[bits] object BitVectorFromDigits {
26
26
$ {digitsToBitVectorMacro(' digits , ' radix )}
27
27
}
28
28
29
- private def digitsToBitVectorMacro (digits : Expr [String ], radix : Expr [Int ])(given qctx : QuoteContext ): Expr [BitVector ] =
29
+ private def digitsToBitVectorMacro (digits : Expr [String ], radix : Expr [Int ])(using qctx : QuoteContext ): Expr [BitVector ] =
30
30
(digits, radix) match {
31
31
case (Const (ds), Const (r)) =>
32
32
if (r == 16 ) {
@@ -38,4 +38,4 @@ private[bits] object BitVectorFromDigits {
38
38
case other =>
39
39
' {digitsToBitVector($digits, $radix)}
40
40
}
41
- }
41
+ }
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ private[bits] object ByteVectorFromDigits {
26
26
$ {digitsToByteVectorMacro(' digits , ' radix )}
27
27
}
28
28
29
- private def digitsToByteVectorMacro (digits : Expr [String ], radix : Expr [Int ])(given qctx : QuoteContext ): Expr [ByteVector ] =
29
+ private def digitsToByteVectorMacro (digits : Expr [String ], radix : Expr [Int ])(using qctx : QuoteContext ): Expr [ByteVector ] =
30
30
(digits, radix) match {
31
31
case (Const (ds), Const (r)) =>
32
32
if (r == 16 ) {
@@ -38,4 +38,4 @@ private[bits] object ByteVectorFromDigits {
38
38
case other =>
39
39
' {digitsToByteVector($digits, $radix)}
40
40
}
41
- }
41
+ }
You can’t perform that action at this time.
0 commit comments