Skip to content

Commit b46ac5a

Browse files
committed
Made ByteVectorPlatform public in Dotty build to avoid issue
1 parent 52b65d4 commit b46ac5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/shared/src/main/scala-0.22/scodec/bits/ByteVectorPlatform.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import scala.util.FromDigits
77
// TODO: as of 0.22, making this private[bits] results in errors like the following at call sites:
88
// scala> val b: ByteVector = 0x00112233_44556677_8899aabb_ccddeeff_fedba098
99
// trait ByteVectorPlatform cannot be accessed as a member of scodec.bits from module class rs$line$2$.
10-
private[bits] trait ByteVectorPlatform { self: ByteVector.type =>
10+
trait ByteVectorPlatform { self: ByteVector.type =>
1111

1212
class FromDigits extends FromDigits.WithRadix[ByteVector] {
1313
def fromDigits(digits: String, radix: Int): ByteVector =

0 commit comments

Comments
 (0)