Skip to content

Commit 625ad7f

Browse files
committed
Remove catch-rethrow in Driver
1 parent 3d695dd commit 625ad7f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/dotty/tools/dotc/Driver.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ abstract class Driver extends DotClass {
3333
case ex: FatalError =>
3434
ctx.error(ex.getMessage) // signals that we should fail compilation.
3535
ctx.typerState.reporter
36-
case NonFatal(ex) =>
37-
throw(ex) // unexpected error, tell the outside world.
3836
}
3937
}
4038

0 commit comments

Comments
 (0)