
#11679: Quasi-quoting syntax is ambiguous with list comprehensions -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: patch Priority: low | Milestone: Component: Compiler | Version: 7.10.3 (Parser) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1981 Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Here's an example (due to hvr) which will compile with and without `-XQuasiQuotes` but will produce different results, {{{#!hs import Text.Heredoc (here) x :: String x = [here| here <- ['h','e','r','e']] -- |] }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11679#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler