[GHC] #11242: GHCi ignores -fno-warn-typed-holes

#11242: GHCi ignores -fno-warn-typed-holes -------------------------------------+------------------------------------- Reporter: crockeea | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: GHCi | Version: 7.10.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Incorrect Unknown/Multiple | warning at compile-time Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- If I load the following code in GHCi: {{{ {-# LANGUAGE PartialTypeSignatures #-} main = print $ f 3 f :: Int -> _ f = id }}} I get a warning about having a type hole. But when I load GHCi with `-fno- warn-typed-holes` (or set it with `:set`) I still get the warning message. It seems that GHC does respect the flag, i.e. `ghc Main -fno-warn-typed- holes` does not produce a warning, as expected. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11242 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11242: GHCi ignores -fno-warn-typed-holes -------------------------------------+------------------------------------- Reporter: crockeea | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: GHCi | Version: 7.10.2 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * status: new => closed * resolution: => invalid Comment: You need `-fno-warn-partial-type-signatures`. The reason you did't see the waring in `ghc` was probably because you forgot to use `-fforce-recomp`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11242#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC