aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/Resident.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-10-26 09:36:59 +0100
committerMartin Odersky <odersky@gmail.com>2015-10-26 09:38:28 +0100
commit75ac4010609c7d3ac856523d8f2d59e710a4c58c (patch)
treea3e3a56fe8f837836ed2129d6f711527bbb82fea /src/dotty/tools/dotc/Resident.scala
parent51ab200f97f11ac74270f6925028ba4d58284e7b (diff)
downloaddotty-75ac4010609c7d3ac856523d8f2d59e710a4c58c.tar.gz
dotty-75ac4010609c7d3ac856523d8f2d59e710a4c58c.tar.bz2
dotty-75ac4010609c7d3ac856523d8f2d59e710a4c58c.zip
Shorten ctx.typerState.reporter to ctx.reporter
... making use of method in `ctx`.
Diffstat (limited to 'src/dotty/tools/dotc/Resident.scala')
-rw-r--r--src/dotty/tools/dotc/Resident.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Resident.scala b/src/dotty/tools/dotc/Resident.scala
index 9578e7d2c..3ae369f27 100644
--- a/src/dotty/tools/dotc/Resident.scala
+++ b/src/dotty/tools/dotc/Resident.scala
@@ -47,7 +47,7 @@ class Resident extends Driver {
nextCtx = rootCtx
line = getLine()
}
- if (line.startsWith(quit)) ctx.typerState.reporter
+ if (line.startsWith(quit)) ctx.reporter
else loop(line split "\\s+", nextCtx)
}
loop(args, rootCtx)