error-message-index icon indicating copy to clipboard operation
error-message-index copied to clipboard

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

Open isomorpheme opened this issue 2 years ago • 0 comments

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

module Greeting (W.greeting, greeting) where

import qualified World as W
import Universe (greeting)

and

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.

isomorpheme avatar Jun 12 '22 13:06 isomorpheme