You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline scala compiler worker classloader in mill daemon (#5087)
Discussed in #4872
Rather than going through this whole repeated
resolve-dependencies-populate-classloader thing, we just directly depend
on and instantiate the `MillParserImpl` in the main `runner.daemon` code
and pass it down through all the layers of classloaders via a shared
`DynamicVariable`. `runner.compilerworker.api` was simplified and merged
into `core.api` so the basic `MillScalaParser` types can be shared
across all parts of Mill
Apart from simplifying the code considerably, this should reduce the
number of duplicate classloaders we have, which should also help with
#4522
0 commit comments