diff options
author | Martin Odersky <odersky@gmail.com> | 2014-02-09 13:32:16 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-02-09 13:32:55 +0100 |
commit | cd64021dc45e937b19980e2f80e3961021bf6918 (patch) | |
tree | e9c8844dc67faf1d25ed54f4b1d8727b426bcd5a /src/dotty/tools/dotc/Run.scala | |
parent | 9ceedf229de878dc7e6fc485dc11f9f92af8fe1c (diff) | |
download | dotty-cd64021dc45e937b19980e2f80e3961021bf6918.tar.gz dotty-cd64021dc45e937b19980e2f80e3961021bf6918.tar.bz2 dotty-cd64021dc45e937b19980e2f80e3961021bf6918.zip |
Move maxConstraint computation to RunInfo to avoid references to stale symbols.
Diffstat (limited to 'src/dotty/tools/dotc/Run.scala')
-rw-r--r-- | src/dotty/tools/dotc/Run.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/Run.scala b/src/dotty/tools/dotc/Run.scala index c662aabfa..928bf753a 100644 --- a/src/dotty/tools/dotc/Run.scala +++ b/src/dotty/tools/dotc/Run.scala @@ -31,7 +31,7 @@ class Run(comp: Compiler)(implicit ctx: Context) { /** Print summary; return # of errors encountered */ def printSummary(): Reporter = { - Constraint.printMax() + ctx.runInfo.printMaxConstraint() val r = ctx.typerState.reporter r.printSummary r |