
#7676: Conflicting definitions error for simple variable with guards ----------------------------------------+----------------------------------- Reporter: Mathnerd314 | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.7 Resolution: wontfix | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: GHC rejects valid program | Difficulty: Unknown Testcase: | Blockedby: Blocking: | Related: ----------------------------------------+----------------------------------- Comment(by guest): Note that this is not specific to guards. {{{ f = 0 -- error f = 0 g _ = 0 -- correct g _ = 0 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7676#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler