[GHC] #8424: quasi-quotes have carriage returns on Windows
GHC
ghc-devs
Wed Oct 9 03:15:30 UTC 2013
#8424: quasi-quotes have carriage returns on Windows
-------------------------------------+------------------------------------
Reporter: GregWeber | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by rwbarton):
This is talking about a source file like
{{{
multilineString :: String
multilineString = [q|foo
bar
baz|]
}}}
right?
I'm surprised the '\r's don't get stripped out when GHC reads the source
file, is it opening it in binary mode? Should it be?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8424#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list