diff options
author | Martin Odersky <odersky@gmail.com> | 2014-12-19 14:33:35 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-12-19 14:33:35 +0100 |
commit | 53cd512eef8f9f28527e7c72d108359f0313d3f5 (patch) | |
tree | 97f79a4b9c9028b600eef8d64640545617c5451b /test | |
parent | 13ec91b955b5c10da750b26e10f793ea44a72945 (diff) | |
download | dotty-53cd512eef8f9f28527e7c72d108359f0313d3f5.tar.gz dotty-53cd512eef8f9f28527e7c72d108359f0313d3f5.tar.bz2 dotty-53cd512eef8f9f28527e7c72d108359f0313d3f5.zip |
Disable context escape detection
I get very frequent build failures due to the mutual Scala<->Java dependency.
It builds for a long time, then decides that getCtx overrides nothing. The only
way to fix is another clean build. Total time lost: >5 minutes. These happened
occasionally before but have become much more frequent under ScalaIDe4.0, to the
point where this becomes a major drag on productity. Context escape detection
is nice but if it stops us getting work done, not worth the effort.
Diffstat (limited to 'test')
-rw-r--r-- | test/test/DottyTest.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test/DottyTest.scala b/test/test/DottyTest.scala index 90a0154ec..21eebd660 100644 --- a/test/test/DottyTest.scala +++ b/test/test/DottyTest.scala @@ -14,7 +14,7 @@ import dotty.tools.dotc.Compiler import dotty.tools.dotc import dotty.tools.dotc.core.Phases.Phase -class DottyTest extends ContextEscapeDetection{ +class DottyTest /*extends ContextEscapeDetection*/ { dotty.tools.dotc.parsing.Scanners // initialize keywords @@ -36,11 +36,12 @@ class DottyTest extends ContextEscapeDetection{ base.definitions.init(ctx) ctx } - +/* override def getCtx: Context = ctx override def clearCtx() = { ctx = null } +*/ private def compilerWithChecker(phase: String)(assertion:(tpd.Tree, Context) => Unit) = new Compiler { self => override def phases = { |