#3303: Allow multi-line deprecation messages.
---------------------------------+------------------------------------------
Reporter: duncan | Owner: igloo
Type: bug | Status: reopened
Priority: normal | Milestone: 6.12.1
Component: Compiler | Version: 6.10.2
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by duncan):
* status: closed => reopened
* resolution: fixed =>
Comment:
The formatting of deprecation pragmas now accidentally includes Haskell
list syntax.
This pragma
{{{
module Foo
{-# DEPRECATED
["You are using the old package `base' version 3.x."
,"Future GHC versions will not support base version 3.x. You"
,"should update your code to use the new base version 4.x."]
#-} where
}}}
gives this warning message:
{{{
Bar.hs:1:0:
Warning: Module `Foo' is deprecated:
[You are using the old package `base' version 3.x.,
Future GHC versions will not support base version 3.x.
You,
should update your code to use the new base version
4.x.]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3303#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs