Parsing of complex QuasiQuote expression fails
The file
{-# LANGUAGE QuasiQuotes #-}
testComplex = assertBool "" ([$istr|
ok
#{Foo 4 "Great!" : [Foo 3 "Scott!"]}
then
|] == ("\n" ++
" ok\n" ++
"[Foo 4 \"Great!\",Foo 3 \"Scott!\"]\n" ++
" then\n"))
parses (with renamer errors) under 7.10.3, but fails with
/home/alanz/tmp/Foo.hs:5:1: error:
parse error (possibly incorrect indentation or mismatched brackets)
using current master (721d56d5)
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.11 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (Parser) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |