
"No version info returned from GHC command: " + ghcVersionCmdLine.getCommandLineString()
);</BUG>
return false;
}
<BUG>String ghcVersion = maybeGhcVersion.trim();
if (!ghcVersion.trim().equals(ghcModGhcVersion)) {</BUG>
NotificationUtil.displayToolsNotification(NotificationType.ERROR, project, "ghc-mod",
"Attempting to use a ghc-mod compiled with a different version of ghc:\n" +
<BUG>"GHC version: " + ghcVersion + "\n" +

"ghc-mod compiled with ghc version: " + ghcModGhcVersion + "\n" +
</BUG>
"Please reconfigure ghc-mod to use a version compiled with GHC " + ghcVersion

} else {
String ghcPath = settings.getGhcPath();
ghcVersionCmdLine.setExePath(ghcPath);
ghcVersionCmdLine.addParameter("--numeric-version");
}
Either<ExecUtil.ExecError, String> ghcVersionResult = ExecUtil.readCommandLine(ghcVersionCmdLine);
if (ghcVersionResult.isLeft()) {
ExecUtil.ExecError e = EitherUtil.unsafeGetLeft(ghcVersionResult);
NotificationUtil.displayToolsNotification(NotificationType.ERROR, project, "ghc",
e.getMessage()
