You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this error message, haskell-interactive-next-error-function incorrectly picks up the line
program :: IO () ....
as a "FILE:LINE:COL-COL: ", and then fails to find the corresponding file, causing it to fail when the filename ends up being nil.
Here's an example:
src/EnvelopesGLFW.hs:144:3-18: Couldn't match expected type ‘Program’ with actual type ‘IO ()’ …
In the pattern: program :: IO ()
In a stmt of a 'do' block:
program :: IO () <- makeProgram (ProgramSpec {..})
In the expression:
do { program :: IO () <- makeProgram (ProgramSpec {..});
vao :: VertexArrayObject <- genObjectName;
programCoords <- uniformCoords program "coords";
bufPos <- setupBuffer vao ArrayBuffer
$ do { locPos <- attribLocation' program "position" FloatVec2;
vertexAttribArray locPos $= Enabled;
.... };
.... }
The text was updated successfully, but these errors were encountered:
ikirill
added a commit
to ikirill/haskell-mode
that referenced
this issue
May 8, 2015
In this error message,
haskell-interactive-next-error-function
incorrectly picks up the lineas a "FILE:LINE:COL-COL: ", and then fails to find the corresponding file, causing it to fail when the filename ends up being nil.
Here's an example:
The text was updated successfully, but these errors were encountered: