This mapping has 2 multi-map groups: several pairings are equally correct there. The code view shows one arbitrary valid pairing, not the only one.

Before

…lines 1–65 unchanged (65 lines)
66 moduleWatched: Seq[Watchable],
67 codeSignatures: Map[String, Int],
68 classLoaderOpt: Option[MillURLClassLoader],
69 runClasspath: Seq[PathRefApi],
70 compileOutput: Option[PathRefApi],
71 evaluator: Option[EvaluatorApi],
72 staticBuildOverrides: Map[String, ujson.Value]
73 ) {
74
75 def loggedData: Frame.Logged = {
76 Frame.Logged(
77 workerCache.map { case (k, (i, v)) =>
78 (k, Frame.WorkerInfo(System.identityHashCode(v), i))
…lines 79–118 unchanged (40 lines)

After

…lines 1–65 unchanged (65 lines)
66 moduleWatched: Seq[Watchable],
67 codeSignatures: Map[String, Int],
68 classLoaderOpt: Option[MillURLClassLoader],
69 runClasspath: Seq[PathRefApi],
70 compileOutput: Option[PathRefApi],
71 evaluator: Option[EvaluatorApi],
72 buildOverrideFiles: Map[java.nio.file.Path, String]
73 ) {
74
75 def loggedData: Frame.Logged = {
76 Frame.Logged(
77 workerCache.map { case (k, (i, v)) =>
78 (k, Frame.WorkerInfo(System.identityHashCode(v), i))
…lines 79–118 unchanged (40 lines)

Before

compilation_unit
package_clause
package "package"
package_identifier
identifier "mill"
. "."
identifier "daemon"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "Val"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "JsonFormatters"
. "."
namespace_wildcard
_ "_"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "daemon"
. "."
identifier "internal"
. "."
namespace_selectors
{ "{"
identifier "EvaluatorApi"
, ","
identifier "internal"
, ","
identifier "PathRefApi"
} "}"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "internal"
. "."
identifier "RootModule"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "daemon"
. "."
identifier "Watchable"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "MillURLClassLoader"
import_declaration
import "import"
identifier "upickle"
. "."
namespace_selectors
{ "{"
identifier "ReadWriter"
, ","
identifier "macroRW"
} "}"
block_comment
/* "/*"
*/ " */"
class_definition (+193 nodes collapsed)
object_definition
object "object"
identifier "RunnerState"
template_body
{ "{"
function_definition
def "def"
identifier "empty"
: ":"
type_identifier "RunnerState"
= "="
call_expression
identifier "RunnerState"
arguments
( "("
identifier "None"
, ","
identifier "Nil"
, ","
identifier "None"
) ")"
class_definition
annotation
@ "@"
type_identifier "internal"
case "case"
class "class"
identifier "Frame"
class_parameters
( "("
class_parameter
identifier "workerCache"
: ":"
generic_type
type_identifier "Map"
type_arguments
[ "["
type_identifier "String"
, ","
tuple_type
( "("
type_identifier "Int"
, ","
type_identifier "Val"
) ")"
] "]"
, ","
class_parameter
identifier "evalWatched"
: ":"
generic_type
type_identifier "Seq"
type_arguments
[ "["
type_identifier "Watchable"
] "]"
, ","
class_parameter
identifier "moduleWatched"
: ":"
generic_type
type_identifier "Seq"
type_arguments
[ "["
type_identifier "Watchable"
] "]"
, ","
class_parameter
identifier "codeSignatures"
: ":"
generic_type
type_identifier "Map"
type_arguments
[ "["
type_identifier "String"
, ","
type_identifier "Int"
] "]"
, ","
class_parameter
identifier "classLoaderOpt"
: ":"
generic_type
type_identifier "Option"
type_arguments
[ "["
type_identifier "MillURLClassLoader"
] "]"
, ","
class_parameter
identifier "runClasspath"
: ":"
generic_type
type_identifier "Seq"
type_arguments
[ "["
type_identifier "PathRefApi"
] "]"
, ","
class_parameter
identifier "compileOutput"
: ":"
generic_type
type_identifier "Option"
type_arguments
[ "["
type_identifier "PathRefApi"
] "]"
, ","
class_parameter
identifier "evaluator"
: ":"
generic_type
type_identifier "Option"
type_arguments
[ "["
type_identifier "EvaluatorApi"
] "]"
, ","
class_parameter
identifier "staticBuildOverrides"
: ":"
generic_type
type_identifier "Map"
type_arguments
[ "["
type_identifier "String"
, ","
stable_type_identifier
identifier "ujson" any 1:3
. "." any 1:3
type_identifier "Value"
] "]"
) ")"
template_body (+192 nodes collapsed)
object_definition (+208 nodes collapsed)
} "}"

After

compilation_unit
package_clause
package "package"
package_identifier
identifier "mill"
. "."
identifier "daemon"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "Val"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "JsonFormatters"
. "."
namespace_wildcard
_ "_"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "daemon"
. "."
identifier "internal"
. "."
namespace_selectors
{ "{"
identifier "EvaluatorApi"
, ","
identifier "internal"
, ","
identifier "PathRefApi"
} "}"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "internal"
. "."
identifier "RootModule"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "daemon"
. "."
identifier "Watchable"
import_declaration
import "import"
identifier "mill"
. "."
identifier "api"
. "."
identifier "MillURLClassLoader"
import_declaration
import "import"
identifier "upickle"
. "."
namespace_selectors
{ "{"
identifier "ReadWriter"
, ","
identifier "macroRW"
} "}"
block_comment
/* "/*"
*/ " */"
class_definition (+193 nodes collapsed)
object_definition
object "object"
identifier "RunnerState"
template_body
{ "{"
function_definition
def "def"
identifier "empty"
: ":"
type_identifier "RunnerState"
= "="
call_expression
identifier "RunnerState"
arguments
( "("
identifier "None"
, ","
identifier "Nil"
, ","
identifier "None"
) ")"
class_definition
annotation
@ "@"
type_identifier "internal"
case "case"
class "class"
identifier "Frame"
class_parameters
( "("
class_parameter
identifier "workerCache"
: ":"
generic_type
type_identifier "Map"
type_arguments
[ "["
type_identifier "String"
, ","
tuple_type
( "("
type_identifier "Int"
, ","
type_identifier "Val"
) ")"
] "]"
, ","
class_parameter
identifier "evalWatched"
: ":"
generic_type
type_identifier "Seq"
type_arguments
[ "["
type_identifier "Watchable"
] "]"
, ","
class_parameter
identifier "moduleWatched"
: ":"
generic_type
type_identifier "Seq"
type_arguments
[ "["
type_identifier "Watchable"
] "]"
, ","
class_parameter
identifier "codeSignatures"
: ":"
generic_type
type_identifier "Map"
type_arguments
[ "["
type_identifier "String"
, ","
type_identifier "Int"
] "]"
, ","
class_parameter
identifier "classLoaderOpt"
: ":"
generic_type
type_identifier "Option"
type_arguments
[ "["
type_identifier "MillURLClassLoader"
] "]"
, ","
class_parameter
identifier "runClasspath"
: ":"
generic_type
type_identifier "Seq"
type_arguments
[ "["
type_identifier "PathRefApi"
] "]"
, ","
class_parameter
identifier "compileOutput"
: ":"
generic_type
type_identifier "Option"
type_arguments
[ "["
type_identifier "PathRefApi"
] "]"
, ","
class_parameter
identifier "evaluator"
: ":"
generic_type
type_identifier "Option"
type_arguments
[ "["
type_identifier "EvaluatorApi"
] "]"
, ","
class_parameter
identifier "buildOverrideFiles"
: ":"
generic_type
type_identifier "Map"
type_arguments
[ "["
stable_type_identifier
stable_identifier
stable_identifier
identifier "java" any 1:3
. "." any 1:3
identifier "nio" any 1:3
. "." any 1:3
identifier "file" any 1:3
. "." any 1:3
type_identifier "Path"
, ","
type_identifier "String"
] "]"
) ")"
template_body (+192 nodes collapsed)
object_definition (+208 nodes collapsed)
} "}"