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/core/Contexts.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/core/Contexts.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Contexts.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala index 1d78eaf02..7ffdea1b3 100644 --- a/src/dotty/tools/dotc/core/Contexts.scala +++ b/src/dotty/tools/dotc/core/Contexts.scala @@ -486,7 +486,7 @@ object Contexts { } /** Info that changes on each compiler run */ - class RunInfo(initctx: Context) extends ImplicitRunInfo { + class RunInfo(initctx: Context) extends ImplicitRunInfo with ConstraintRunInfo { implicit val ctx: Context = initctx } |