May 29, 2023 [Issue 23942] deprecated public import | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23942 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P5 --- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- Workaround is to list all of the imported module's symbols in the public import: deprecated public import pub : someSymbol; As a bonus that locks the publicly imported symbol list, so new additions to pub won't be usable via the public import, even to users of -d. -- |
Copyright © 1999-2021 by the D Language Foundation