https://issues.dlang.org/show_bug.cgi?id=23414

--- Comment #5 from Richard Cattermole <alphaglosi...@gmail.com> ---
My assumption has been that this isn't fixable, but worth documenting.

Each module has one public declaration a struct. Which in turn uses similar
structs in other modules.

ASCII, UTF-8, UTF-16, UTF-32 each having a read only slice and a builder. Then
there are the raw slices too.

Not much you can do to break that up, except for using something like
implicitly constructed sum types at the declaration level to break up the
dependency.

Right now the package module is ensuring the imports are all in the right order
and every module goes through that which works. Not ideal, however, I haven't
had any further issues so not a bad workaround.

--

Reply via email to