diff options
author | Simon Jakobi <simon.jakobi@gmail.com> | 2018-06-08 22:20:30 +0200 |
---|---|---|
committer | Alexander Biehl <alexbiehl@gmail.com> | 2018-06-08 22:20:30 +0200 |
commit | ef16b9f8f73e6a4d639919152925ab83d9b1024f (patch) | |
tree | 69927b55f16867f9b89cc89d3b291f33184248cc /haddock-api/src/Haddock/Backends/HaddockDB.hs | |
parent | bea565ec5a029b8c19965aa22f34c23a112c0a7f (diff) |
Renamer: Warn about ambiguous identifiers (#831)
* Renamer: Warn about ambiguous identifiers
Example:
Warning: 'elem' is ambiguous. It is defined
* in ‘Data.Foldable’
* at /home/simon/tmp/hdk/src/Lib.hs:7:1
You may be able to disambiguate the identifier by qualifying it or
by hiding some imports.
Defaulting to 'elem' defined at /home/simon/tmp/hdk/src/Lib.hs:7:1
Fixes #830.
* Deduplicate warnings
Fixes #832.
Diffstat (limited to 'haddock-api/src/Haddock/Backends/HaddockDB.hs')
0 files changed, 0 insertions, 0 deletions