#5589: Duplicate type signature not reported
--------------------------------+-------------------------------------------
Reporter: MikolajKonarski | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: GHC accepts invalid program
--------------------------------+-------------------------------------------
With todays HEAD, as well as one a couple of moths ago (but not with 7.2,
I'm told), the attached program does not cause an error or a warning. The
crucial fragment is this
{{{
bbb, aaa :: Int
aaa :: Int
}}}
With the "bbb" removed, it does lead to error. I guess at least a warning
should be issued.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5589>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs