Skip to content

Commit 98b2fbe

Browse files
committed
enable the last pass
1 parent 9c6919e commit 98b2fbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ object Transpile {
5252
debugPrinter(y._1, "afterSimplifyFor")
5353

5454
try {
55-
val rmWith = GenericStatementPasses.procStatement(SimplifyWith.apply)(y._1, y._2)
55+
val starInCollCons = GenericStatementPasses.simpleProcExprInStatement(StarInCollectionConstructor.apply)(y._1, y._2)
56+
debugPrinter(starInCollCons._1, "afterStarInCollCons")
57+
val rmWith = GenericStatementPasses.procStatement(SimplifyWith.apply)(starInCollCons._1, starInCollCons._2)
5658
debugPrinter(rmWith._1, "afterRmWith")
5759
val rmAssert = GenericStatementPasses.procStatement(SimplifyAssert.apply)(rmWith._1, rmWith._2)
5860
debugPrinter(rmAssert._1, "afterRmAssert")

0 commit comments

Comments
 (0)