Skip to content

Commit

Permalink
fix: renamed var on build.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
Perklone committed Jul 28, 2024
1 parent b3b0c7a commit 2aec8dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/build/src/main/scala/scala/build/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down Expand Up @@ -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 =
Expand Down

0 comments on commit 2aec8dd

Please sign in to comment.