diff --git a/modules/build/src/main/scala/scala/build/Build.scala b/modules/build/src/main/scala/scala/build/Build.scala index 66cf22b9b9..5e08d67747 100644 --- a/modules/build/src/main/scala/scala/build/Build.scala +++ b/modules/build/src/main/scala/scala/build/Build.scala @@ -861,7 +861,7 @@ object Build { if (options.useBuildServer.getOrElse(true)) None else releaseFlag(options, compilerJvmVersionOpt, logger).map(_.toString) - val hardcodedSource = options.sourceGeneratorOptions.generatorConfig + val sourceGeneratorConfig = options.sourceGeneratorOptions.generatorConfig val scalaCompilerParamsOpt = artifacts.scalaOpt match { case Some(scalaArtifacts) => diff --git a/modules/build/src/main/scala/scala/build/preprocessing/DirectivesPreprocessor.scala b/modules/build/src/main/scala/scala/build/preprocessing/DirectivesPreprocessor.scala index 40047f564b..3fda875977 100644 --- a/modules/build/src/main/scala/scala/build/preprocessing/DirectivesPreprocessor.scala +++ b/modules/build/src/main/scala/scala/build/preprocessing/DirectivesPreprocessor.scala @@ -45,6 +45,7 @@ case class DirectivesPreprocessor( def preprocess(extractedDirectives: ExtractedDirectives) : Either[BuildException, PreprocessedDirectives] = either { val ExtractedDirectives(directives, directivesPositions) = extractedDirectives + println(s"DirectivesPreprocessor: $directives") val ( buildOptionsWithoutRequirements: PartiallyProcessedDirectives[BuildOptions], @@ -78,9 +79,6 @@ case class DirectivesPreprocessor( ) } - for (vals <- unusedDirectives) println(s"preprocess- ${vals.toString} ${vals.key}") - - val (optionsWithActualRequirements, optionsWithEmptyRequirements) = buildOptionsWithTargetRequirements.global.partition(_.requirements.nonEmpty) val summedOptionsWithNoRequirements = @@ -140,7 +138,6 @@ case class DirectivesPreprocessor( .toMap val unused = directives.filter(d => !handlersMap.contains(d.key)) - for (vals <- unused) println(s"${vals.toString} ${vals.key}") val res = directives .iterator