aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test/DottyTest.scala5
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 = {