Skip to content

Commit 91c6145

Browse files
committed
Fix tests
1 parent 2abb087 commit 91c6145

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

incompat.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ lazy val incompat30Settings =
264264
// we copy the scala213 sources into the target folder
265265
// because it might be rewritten by dotc or scalafix
266266
CompileBackward / sourceGenerators += Def.task {
267-
val _ = clean.value // clean to force recompilation and rewrite
267+
val _ = (CompileBackward / clean).value // clean to force recompilation and rewrite
268268
copySources(scala213SourceDir.value, rewriteDir.value)
269269
},
270270
CompileBackward / managedClasspath := (managedClasspath in Compile).value,
@@ -317,7 +317,7 @@ lazy val runtimeIncompat30Settings = incompat30Settings :+ {
317317
val logger = streams.value.log
318318
val _ = (Compile / run).toTask("").value
319319
val runBwd = (CompileBackward / run).toTask("").result.value
320-
320+
321321
if (isDotty.value)
322322
Assert.runtimeIncompatibility(name.value, scalaVersion.value, runBwd, logger)
323323
else
@@ -338,7 +338,7 @@ lazy val incompat31Settings = inConfig(CompileBackward)(Defaults.compileSettings
338338
// we copy the scala30 sources into the target folder
339339
// because they might be rewritten by dotc or scalafix
340340
CompileBackward / sourceGenerators += Def.task {
341-
val _ = clean.value // clean to force recompilation and rewrite
341+
val _ = (CompileBackward / clean).value // clean to force recompilation and rewrite
342342
copySources(scala30SourceDir.value, rewriteDir.value)
343343
},
344344
CompileBackward / managedClasspath := (managedClasspath in Compile).value,

0 commit comments

Comments
 (0)