You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jsoniter-scala-macros/shared/src/main/scala-3/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMaker.scala
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2375,9 +2375,9 @@ object JsonCodecMaker {
2375
2375
while ({
2376
2376
valv= $readVal
2377
2377
if (v <0|| v >=${Expr(cfg.bitSetValueLimit)}) $in.decodeError("illegal value for bit set")
2378
-
valxi= v >>>6
2379
-
if (xi>= x.length) x = java.util.Arrays.copyOf(x, java.lang.Integer.highestOneBit(xi) <<1)
2380
-
x(xi) = x(xi) |1L<< v
2378
+
vali= v >>>6
2379
+
if (i>= x.length) x = java.util.Arrays.copyOf(x, java.lang.Integer.highestOneBit(i) <<1)
0 commit comments