From dc850b9dde2c2cb634fcf9bc08000c92873671b3 Mon Sep 17 00:00:00 2001 From: Ondrej Lhotak Date: Wed, 26 Jul 2023 14:20:03 -0400 Subject: [PATCH] disable explicit nulls for scalatest --- community-build/src/scala/dotty/communitybuild/projects.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/community-build/src/scala/dotty/communitybuild/projects.scala b/community-build/src/scala/dotty/communitybuild/projects.scala index 96a48adbb67e..27c00e439962 100644 --- a/community-build/src/scala/dotty/communitybuild/projects.scala +++ b/community-build/src/scala/dotty/communitybuild/projects.scala @@ -292,7 +292,8 @@ object projects: // 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. // dotty.tools.dotc.core.MissingType: dependencies = List(scalaXml), - testOnlyDependencies = () => List(scalatestplusJunit, scalatestplusTestNG) + testOnlyDependencies = () => List(scalatestplusJunit, scalatestplusTestNG), + scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Yexplicit-nulls").filter(_ != "-Yflexible-types"), ) lazy val scalatestplusScalacheck = SbtCommunityProject(