Skip to content

Commit a62cd9d

Browse files
committed
Enable -Yflexify-tasty for select projects
scalatest, scalatestplusTestNG
1 parent db95614 commit a62cd9d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,13 @@ object projects:
241241
).mkString("; "),
242242
sbtPublishCommand = "scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal",
243243
sbtDocCommand = ";scalacticDotty/doc", // fails with missing type ;scalatestDotty/doc"
244+
// cannot take signature of (test: org.scalatest.concurrent.ConductorFixture#OneArgTest):
245+
// org.scalatest.Outcome
246+
// Problem parsing scalatest.dotty/target/scala-3.0.0-M2/src_managed/main/org/scalatest/concurrent/ConductorFixture.scala:[602..624..3843], documentation may not be generated.
247+
// dotty.tools.dotc.core.MissingType:
248+
dependencies = List(scalaXml),
249+
scalacOptions = SbtCommunityProject.scalacOptions ++ List("-Yflexify-tasty"),
250+
testOnlyDependencies = () => List(scalatestplusJunit, scalatestplusTestNG)
244251
)
245252

246253
lazy val scalatestplusScalacheck = SbtCommunityProject(
@@ -260,6 +267,8 @@ object projects:
260267
project = "scalatestplus-testng",
261268
sbtTestCommand = "test",
262269
sbtPublishCommand = "publishLocal",
270+
scalacOptions = SbtCommunityProject.scalacOptions ++ List("-Yflexify-tasty"),
271+
dependencies = List(scalatest)
263272
)
264273

265274
lazy val scalaXml = SbtCommunityProject(

0 commit comments

Comments
 (0)