haskellfoundation / haskellfoundation/error-message-index

Add an example of conflicting imports that doesn't exclusively use qualified names

Open
#308 0 comments 0 reactions 0 assignees View on GitHub
error-message-index-improvements
Dominant language
Haskell
Stars
108
Forks
71
PR merge metrics
No merged PRs in 30d

Description

In haskell/error-messages#100 I only did an example where both names are imported qualified, but I think the error would also be triggered by something like
```hs
module Greeting (W.greeting, greeting) where

import qualified World as W
import Universe (greeting)
```
and
```hs
module Greeting (W.greeting, module Universe) where

import qualified World as W
import Universe (greeting)
```
so doing at least one of those would probably be useful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.