Need advice on Error: package name conflicts with usage as a module name
Alexander
roland.taverner at gmail.com
Sun May 31 18:09:59 UTC 2026
On Sunday, 31 May 2026 at 14:37:04 UTC, Paul Backus wrote:
> The normal way to resolve this is to rename
> `windows\win32\devices.d` to `windows\win32\devices\package.d`.
> See https://dlang.org/spec/module.html#package-module for
> details.
Is this a common practice? My understanding is that package
modules are typically used as aggregators of public imports. If
it doesn't create confusion for users, this seems like the best
approach.
More information about the Digitalmars-d
mailing list