Skip to content

Duplicate type signature not reported

Under 7.4.1, the following snippet compiles without error:

a, a :: Int
a = 0

It should issue the usual “duplicate type signature” diagnostic.

82cd019e is probably relevant here.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system MacOS X
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information