diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-24 00:13:01 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-24 18:25:41 -0800 |
commit | 981b7191a2a666447c85c6632d5a2c626d19a849 (patch) | |
tree | 6b2c77ede5777a3eb07e18dbb3139a2c535f5cb3 /plugin | |
parent | 4181484c6a3674788e1a57f4d4d1fe28ffabbce3 (diff) | |
download | mill-981b7191a2a666447c85c6632d5a2c626d19a849.tar.gz mill-981b7191a2a666447c85c6632d5a2c626d19a849.tar.bz2 mill-981b7191a2a666447c85c6632d5a2c626d19a849.zip |
Remove `Router.scala`, whose changes have been upstreamed into the Ammonite master branch
Remove the `out/run.sc` entrypoint script, using Ammonite's new `codeWrapper` API to synthesize the necessary wrapper/forwarder objects to substitute it
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/src/main/scala/mill/plugin/Cacher.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/src/main/scala/mill/plugin/Cacher.scala b/plugin/src/main/scala/mill/plugin/Cacher.scala index 4c854df7..17f0a8d0 100644 --- a/plugin/src/main/scala/mill/plugin/Cacher.scala +++ b/plugin/src/main/scala/mill/plugin/Cacher.scala @@ -5,7 +5,7 @@ import scala.reflect.macros.blackbox.Context trait Cacher[C[_]]{ - private[this] val cacherLazyMap = mutable.Map.empty[sourcecode.Enclosing, C[_]] + private[this] lazy val cacherLazyMap = mutable.Map.empty[sourcecode.Enclosing, C[_]] def wrapCached[T](in: C[T], enclosing: String): C[T] protected[this] def cachedTarget[T](t: => C[T]) (implicit c: sourcecode.Enclosing): C[T] = synchronized{ |