From 75ac4010609c7d3ac856523d8f2d59e710a4c58c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 26 Oct 2015 09:36:59 +0100 Subject: Shorten ctx.typerState.reporter to ctx.reporter ... making use of method in `ctx`. --- src/dotty/tools/dotc/Resident.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/Resident.scala') 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) -- cgit v1.2.3