Sdk ghc = parameters.getGhc();
if (ghc == null) {
throw new CantRunException(NO_GHC);
}
SdkTypeId sdkTypeId = ghc.getSdkType();
if (!(sdkTypeId instanceof HaskellSdkType)) {
throw new CantRunException(NO_GHC);
}
String exePath = ghc.getHomePath() + "/bin/" + GHCUtil.getExeName("runghc"); // todo