Skip to content
This repository was archived by the owner on Nov 28, 2017. It is now read-only.

Commit 42aa648

Browse files
committed
- Fixed bug with toJsAny #2
1 parent 2dc51ad commit 42aa648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/src/main/scala/org/json4s/ast/safe/JValue.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ case class JArray(value: Vector[JValue] = Vector.empty) extends JValue {
180180

181181
def toJsAny: js.Any = {
182182
if (value.isEmpty) {
183-
js.Array[fast.JValue]()
183+
js.Array[js.Any]()
184184
} else {
185185
val iterator = value.iterator
186-
val array = js.Array[fast.JValue]()
186+
val array = js.Array[js.Any]()
187187
while (iterator.hasNext) {
188188
array.push(iterator.next().toJsAny)
189189
}

0 commit comments

Comments
 (0)