We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{-# LANGUAGE OverloadedStrings #-} import IdeSession import Data.Monoid update = updateSourceFile "Main.hs" "{-# LANGUAGE CPP #-}\n\ \#if MIN_VERSION_bytestring(0,10,0)\n\ \main = return ()\n\ \#endif" <> updateCodeGeneration True main :: IO () main = do sess <- initSession defaultSessionInitParams defaultSessionConfig updateSession sess update print getSourceErrors sess >>= print ra <- runStmt sess "Main" "main" let loop = do eres <- runWait ra case eres of Left bs -> print bs >> loop Right res -> print res loop updateSession sess buildDoc print distdir <- getDistDir sess readFile (distdir ++ "/doc/ide-backend-doc.stdout") >>= print readFile (distdir ++ "/doc/ide-backend-doc.stderr") >>= print
Output:
$ runghc Main.hs [1 of 1] Compiling Main [] RunOk "" "\ndist/build/tmp-28735/src/Main.hs:2:0:\n error: missing binary operator before token \"(\"\n"
The text was updated successfully, but these errors were encountered:
May be related to #192.
Sorry, something went wrong.
I've verified that this is still a bug
No branches or pull requests
Output:
The text was updated successfully, but these errors were encountered: