Thread overview
[Issue 17144] [REG 2.071] local imports became invisible
Apr 12, 2017
Walter Bright
May 25, 2017
anonymous4
May 25, 2017
Mihails Strasuns
May 25, 2017
Mihails Strasuns
May 25, 2017
anonymous4
May 17, 2018
Walter Bright
April 12, 2017
https://issues.dlang.org/show_bug.cgi?id=17144

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|---                         |WONTFIX

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
You can use:

   -transition=import

to enable the old behavior. This is as designed.

--
May 25, 2017
https://issues.dlang.org/show_bug.cgi?id=17144

anonymous4 <dfj1esp02@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mihails.strasuns.contractor
                   |                            |@sociomantic.com

--- Comment #2 from anonymous4 <dfj1esp02@sneakemail.com> ---
*** Issue 17433 has been marked as a duplicate of this issue. ***

--
May 25, 2017
https://issues.dlang.org/show_bug.cgi?id=17144

Mihails Strasuns <mihails.strasuns.contractor@sociomantic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #3 from Mihails Strasuns <mihails.strasuns.contractor@sociomantic.com> ---
Please reconsider - you have explicitly promised that it will keep working in NG (see the linked duplicate issue).

--
May 25, 2017
https://issues.dlang.org/show_bug.cgi?id=17144

--- Comment #4 from Mihails Strasuns <mihails.strasuns.contractor@sociomantic.com> ---
(Note that it stopped working for `public import` too)

--
May 25, 2017
https://issues.dlang.org/show_bug.cgi?id=17144

--- Comment #5 from anonymous4 <dfj1esp02@sneakemail.com> ---
Hmm... maybe your issue should be reopened instead, because of public.

--
May 17, 2018
https://issues.dlang.org/show_bug.cgi?id=17144

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Walter Bright <bugzilla@digitalmars.com> ---
It compiles with -transition=import. That's what is needed to enable the old behavior.

> explicitly promised

https://digitalmars.com/d/archives/digitalmars/D/Nested_public_imports_-_bug_or_feature_269863.html#N270339

"Since the import is qualified with 'public', I see no reason to change this behavior."

That isn't exactly a promise. And I was later convinced with reasons. But still the old behavior is maintained with the switch.

--