
#15720: Assign to literals is allowed in ghci -------------------------------------+------------------------------------- Reporter: sighingnow | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.6.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC accepts | Unknown/Multiple invalid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): I had thought that `-Wunused-pattern-binds` did more than just this corner case... looking at it now ([https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/using- warnings.html#ghc-flag--Wunused-pattern-binds manual entry]), I do think we should enable this by default. I suppose a proposal is in order, but that's annoyingly heavy. Oh well. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15720#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler