Skip to content

Commit

Permalink
[Kotlin] Fix pass order
Browse files Browse the repository at this point in the history
  • Loading branch information
sschr15 committed Aug 20, 2024
1 parent b363268 commit d726601
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ private static Pass makePass() {
.addPass("ReplaceExprs", new ReplaceExprentsPass())
// TODO: preference for this pass
.addPass("ResugarMethods", new ResugarKotlinMethodsPass())
.addPass("ReplaceContinue", ctx -> LabelHelper.replaceContinueWithBreak(ctx.getRoot()))
.addPass("CollapseStringConcat", new CollapseStringConcatPass())
.addPass("ReplaceContinue", ctx -> LabelHelper.replaceContinueWithBreak(ctx.getRoot()))

.build();
}
Expand Down

0 comments on commit d726601

Please sign in to comment.