diff --git a/compile/interface/CompilerInterface.scala b/compile/interface/CompilerInterface.scala index da3d33252..5a7e2ed25 100644 --- a/compile/interface/CompilerInterface.scala +++ b/compile/interface/CompilerInterface.scala @@ -75,6 +75,11 @@ class CompilerInterface } trait Compat27 { val runsBefore: List[String] = Nil } } + if(command.shouldStopWithInfo) + { + reporter.info(null, command.getInfoMessage(compiler), true) + throw new InterfaceCompileFailed(args, Array(), "Compiler option supplied that disabled actual compilation.") + } if(noErrors) { val run = new compiler.Run