Skip to content
Snippets Groups Projects
Commit 06654a6e authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

Correct treatment of rexported modules in mkModuleNameProvidersMap

Before we would get the incorrect error message saying that the
rexporting package was the same as the defining package.

I think this only affects error messages for now.

```
-      it is bound as p-0.1.0.0:P2 by a reexport in package p-0.1.0.0
-      it is bound as P by a reexport in package p-0.1.0.0
+      it is bound as p-0.1.0.0:P2 by a reexport in package q-0.1.0.0
+      it is bound as P by a reexport in package r-0.1.0.0
```

and the output of `-ddump-mod-map` claimed..

```
Moo moo-0.0.0.1 (hidden package, reexport by moo-0.0.0.1)
```
parent 9d34f454
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment