diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2018-08-22 17:30:13 +0900 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-08-22 16:30:13 +0800 |
commit | 807e470fe3cb359993c8e37f79da2530138748d4 (patch) | |
tree | bdb40d2c8918092cbc53921d82901590b48a48a3 /main/src | |
parent | b29c13d9010f9405de04c471fc4c8ba816606fbc (diff) | |
download | mill-807e470fe3cb359993c8e37f79da2530138748d4.tar.gz mill-807e470fe3cb359993c8e37f79da2530138748d4.tar.bz2 mill-807e470fe3cb359993c8e37f79da2530138748d4.zip |
Make the REPL evaluator accessible from the REPL itself (#413)
This makes it easier to hack on Mill using Mill itself, the evaluator is
available using `replApplyHandler.evaluator`
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/mill/main/ReplApplyHandler.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/mill/main/ReplApplyHandler.scala b/main/src/mill/main/ReplApplyHandler.scala index 95949fa8..9070e614 100644 --- a/main/src/mill/main/ReplApplyHandler.scala +++ b/main/src/mill/main/ReplApplyHandler.scala @@ -91,7 +91,7 @@ object ReplApplyHandler{ } class ReplApplyHandler(pprinter0: pprint.PPrinter, - evaluator: Evaluator[_]) extends ApplyHandler[Task] { + val evaluator: Evaluator[_]) extends ApplyHandler[Task] { // Evaluate classLoaderSig only once in the REPL to avoid busting caches // as the user enters more REPL commands and changes the classpath val classLoaderSig = Evaluator.classLoaderSig |