[GHC] #16282: all-missed-specializations doesn't suggest warning

#16282: all-missed-specializations doesn't suggest warning -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.6.3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Poor/confusing Unknown/Multiple | error message Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- `-Weverything` turns on `-Wall-missed-specializations`. When most warnings print, they say, e.g., `warning: [-Wincomplete-uni-patterns]` which is helpful because I can then easily suppress all warnings of that type with an `-fno-warn-*`. But missed specializations do not show the warning flag: {{{ Foo.hs: warning: Could not specialise imported function `foo' Probable fix: add INLINABLE pragma on `foo' }}} There is no indication of what warning flag triggered the warning. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16282 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16282: all-missed-specializations doesn't suggest warning -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Poor/confusing | Unknown/Multiple error message | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
There is no indication of what warning flag triggered the warning.
Good point. Ought to be easy to fix, if someone feels like doing it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16282#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16282: all-missed-specializations doesn't suggest warning -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: Poor/confusing | Unknown/Multiple error message | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * keywords: => newcomer -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16282#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16282: all-missed-specializations doesn't suggest warning -------------------------------------+------------------------------------- Reporter: crockeea | Owner: (none) Type: bug | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: Poor/confusing | Unknown/Multiple error message | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/350/diffs -------------------------------------+------------------------------------- Changes (by crockeea): * differential: => https://gitlab.haskell.org/ghc/ghc/merge_requests/350/diffs -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16282#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC