Skip to content

Commit 48fec8e

Browse files
committed
Workaround compilation performance regressions due to scala/scala3#21000 by disabling pattern match analysis in both affected projects in the code generated code
1 parent 17ead14 commit 48fec8e

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

coordinator/configs/projects-config.conf

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ alejandrohdezma_http4s-munit {
9393
almond-sh_almond{
9494
projects.exclude = ["sh.almond%toree-hooks"]
9595
}
96+
andimiller_cats-parse-interpolator {
97+
sbt.commands = [
98+
"""codegenJVM/run; scalafmtAll"""
99+
]
100+
source-patches = [{
101+
path = "codegen/src/main/scala/SyntaxGen.scala"
102+
pattern = " $input match {"
103+
replace-with = " ($input: @scala.unchecked) match {"
104+
}]
105+
}
96106
apache_pekko {
97107
java.version = 8
98108
source-patches = [{
@@ -468,7 +478,14 @@ finos_morphir-jvm {
468478
}
469479
fmonniot_scala3mock {
470480
sbt.commands = ["mapScalacOptions -experimental"]
471-
}
481+
}
482+
fommil_jzon{
483+
source-patches = [{
484+
path = "project/CodeGen.scala"
485+
pattern = " st match {"
486+
replace-with = " (st: @scala.unchecked) match {"
487+
}]
488+
}
472489
frawa_typed-json.projects.overrides {
473490
typed-json.tests = disabled // tries to read non-existing file
474491
}

0 commit comments

Comments
 (0)