[GHC] #15337: Warning not showing up when deprecated variable is explicitly imported
GHC
ghc-devs at haskell.org
Tue Jul 3 12:25:28 UTC 2018
#15337: Warning not showing up when deprecated variable is explicitly imported
-------------------------------------+-------------------------------------
Reporter: alanasp | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Keywords: deprecation | Operating System: Unknown/Multiple
warning |
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
In the case below a deprecation warning does not show up.
{{{#!hs
{- ModuleA -}
module ModuleA where
{-# DEPRECATED func "func is deprecated" #-}
func :: Int
func = 42
{- ModuleB -}
module ModuleB where
import ModuleA(func)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15337>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list