False "duplicate or overlapping instances" message
George Russell
ger at Informatik.Uni-Bremen.DE
Wed Oct 25 05:45:21 EDT 2000
When I compile the attached file on Linux with 4.08.1:
/home/ger/ghc-4.08.1-binary/bin/ghc -c Instances.hs -fglasgow-exts -fallow-overlapping-instances -fallow-undecidable-instances
I get the message:
Instances.hs:1:
Duplicate or overlapping instance declarations
for `HasConfig (arcTypeConfig value) (arcTypeParms value)'
defined at Instances.hs:19 and defined at Instances.hs:11
This is not fair, because while the instances for HasConfig have the
potential to conflict in the future, they will only do so should the classes
NodeTypeConfigParms and ArcTypeConfigParms overlap.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Instances.hs
Type: application/octet-stream
Size: 733 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20001025/f8a56073/Instances.obj
More information about the Glasgow-haskell-bugs
mailing list