Skip to content

Commit ec772f0

Browse files
committed
fix style problem
1 parent 98b2fbe commit ec772f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transpiler/src/main/scala/org/polystat/py2eo/transpiler/StarInCollectionConstructor.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ object StarInCollectionConstructor {
77
case CollectionCons(kind, l, ann) =>
88
val l1 = l.flatMap({
99
case Star(CollectionCons(kind1, l, _), _) => l
10-
case x => List(x)
10+
case x : Any => List(x)
1111
})
1212
CollectionCons(kind, l1, ann)
13-
case x => x
13+
case x : Any => x
1414
}
1515
}

0 commit comments

Comments
 (0)