Skip to content

Commit d02361e

Browse files
committed
Use named parameter
1 parent e1811c8 commit d02361e

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

runner/daemon/src/mill/daemon/MillBuildBootstrap.scala

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -262,38 +262,38 @@ class MillBuildBootstrap(
262262
case Result.Success((buildFileApi)) =>
263263

264264
Using.resource(makeEvaluator(
265-
projectRoot,
266-
output,
267-
keepGoing,
268-
env,
269-
logger,
270-
ec,
271-
allowPositionalCommandArgs,
272-
systemExit,
273-
streams0,
274-
selectiveExecution,
275-
offline,
276-
newWorkerCache,
277-
nestedState.frames.headOption.map(_.codeSignatures).getOrElse(Map.empty),
278-
buildFileApi.rootModule,
265+
projectRoot = projectRoot,
266+
output = output,
267+
keepGoing = keepGoing,
268+
env = env,
269+
logger = logger,
270+
ec = ec,
271+
allowPositionalCommandArgs = allowPositionalCommandArgs,
272+
systemExit = systemExit,
273+
streams0 = streams0,
274+
selectiveExecution = selectiveExecution,
275+
offline = offline,
276+
workerCache = newWorkerCache,
277+
codeSignatures = nestedState.frames.headOption.map(_.codeSignatures).getOrElse(Map.empty),
278+
rootModule = buildFileApi.rootModule,
279279
// We want to use the grandparent buildHash, rather than the parent
280280
// buildHash, because the parent build changes are instead detected
281281
// by analyzing the scriptImportGraph in a more fine-grained manner.
282-
nestedState
282+
millClassloaderSigHash = nestedState
283283
.frames
284284
.dropRight(1)
285285
.headOption
286286
.map(_.runClasspath)
287287
.getOrElse(millBootClasspathPathRefs)
288288
.map(p => (os.Path(p.javaPath), p.sig))
289289
.hashCode(),
290-
nestedState
290+
millClassloaderIdentityHash = nestedState
291291
.frames
292292
.headOption
293293
.flatMap(_.classLoaderOpt)
294294
.map(_.hashCode())
295295
.getOrElse(0),
296-
depth,
296+
depth = depth,
297297
actualBuildFileName = nestedState.buildFile,
298298
enableTicker = enableTicker
299299
)) { evaluator =>

0 commit comments

Comments
 (0)