aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2017-03-05 20:15:20 +0900
committerGuillaume Martres <smarter@ubuntu.com>2017-03-08 10:38:41 +0100
commitb5bdfab87b9be2cfbbc67370d1b6fbb5eb374098 (patch)
tree6587ba2ffbb1b6192dceb45d4d01cd23dfdb1a53 /compiler/test/dotty
parentb3ca03f5e7c6414e84ea7a48da70998481609519 (diff)
downloaddotty-b5bdfab87b9be2cfbbc67370d1b6fbb5eb374098.tar.gz
dotty-b5bdfab87b9be2cfbbc67370d1b6fbb5eb374098.tar.bz2
dotty-b5bdfab87b9be2cfbbc67370d1b6fbb5eb374098.zip
Add FatalError from scala.reflect
Diffstat (limited to 'compiler/test/dotty')
-rw-r--r--compiler/test/dotty/partest/DPConsoleRunner.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/test/dotty/partest/DPConsoleRunner.scala b/compiler/test/dotty/partest/DPConsoleRunner.scala
index 7a25af6b7..aa926efe2 100644
--- a/compiler/test/dotty/partest/DPConsoleRunner.scala
+++ b/compiler/test/dotty/partest/DPConsoleRunner.scala
@@ -4,6 +4,7 @@
package dotty.partest
+import dotty.tools.FatalError
import scala.reflect.io.AbstractFile
import scala.tools.partest._
import scala.tools.partest.nest._
@@ -294,8 +295,6 @@ class DPTestRunner(testFile: File, suiteRunner: DPSuiteRunner) extends nest.Runn
// override to add the check for nr of compilation errors if there's a
// target.nerr file
override def runNegTest() = runInContext {
- import scala.reflect.internal.FatalError
-
sealed abstract class NegTestState
// Don't get confused, the neg test passes when compilation fails for at
// least one round (optionally checking the number of compiler errors and