We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5da78a commit a2b323eCopy full SHA for a2b323e
compiler/src/dotty/tools/dotc/Driver.scala
@@ -34,6 +34,9 @@ class Driver {
34
case ex: FatalError =>
35
ctx.error(ex.getMessage) // signals that we should fail compilation.
36
ctx.reporter
37
+ case ex: Throwable =>
38
+ println(s"$ex while compiling ${fileNames.mkString(", ")}")
39
+ throw ex
40
}
41
else ctx.reporter
42
0 commit comments