[GHC] #657: add WARNING pragma

GHC trac at galois.com
Wed Jan 18 06:05:27 EST 2006


#657: add WARNING pragma
--------------------------+-------------------------------------------------
  Reporter:  ijones       |          Owner:         
      Type:  task         |         Status:  new    
  Priority:  normal       |      Milestone:         
 Component:  Compiler     |        Version:  6.4.1  
  Severity:  normal       |     Resolution:         
  Keywords:               |             Os:  Unknown
Difficulty:  Easy (1 hr)  |   Architecture:  Unknown
--------------------------+-------------------------------------------------
Comment (by simonpj):

 This could be easily done if we can agree about what we want.

 Should "WARNING" be "WARN_USE" or "WARN_USE_OF" or "WARN_AT_USE" or
 something like that?  Something more self explanatory.

 (Or use hyphens?  "WARN-USE" or "WARN-USE-OF" etc.)

 Then DEPRECATED becomes "WARN-USE" with an automatic prefix "x is
 deprecated.".  Right?

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/657>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list