Skip to content

Commit c682093

Browse files
committed
Remove dotty.tools.dotc.FatalError; use dotty.tools.FatalError instead.
1 parent 9218b1c commit c682093

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/dotty/tools/dotc/Driver.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package dotty.tools.dotc
22

3+
import dotty.tools.FatalError
34
import config.CompilerCommand
45
import core.Contexts.{Context, ContextBase}
56
import util.DotClass
@@ -101,6 +102,3 @@ abstract class Driver extends DotClass {
101102
sys.exit(if (process(args).hasErrors) 1 else 0)
102103
}
103104
}
104-
105-
class FatalError(msg: String) extends Exception(msg)
106-

0 commit comments

Comments
 (0)