request better error message for malformed quasiquoted declaration
I closed a quasiquoted declaration form incorrectly (] rather than |]) and the error message I received was not enough to able me to diagnose the problem. The message I received was
Pnm.hs:40:1:
lexical error in string/character literal at end of input
And I think a more appropriate message would be along the lines of "quasiquoted declaration that begins at line 17 was not terminated."
(I have listed "compiler" as the component but perhaps it should be "template haskell" instead?)
Trac metadata
Trac field | Value |
---|---|
Version | 7.0.3 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | attached to ticket |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | mainland@eecs.harvard.edu |
Operating system | |
Architecture |