Thread overview
[Issue 19471] Duplicate error messages when trying to use an inaccessible package symbol
Dec 09, 2018
Mike Franklin
Dec 10, 2018
Mike Franklin
Dec 10, 2018
Mike Franklin
Dec 10, 2018
Mike Franklin
Dec 10, 2018
Mike Franklin
Dec 17, 2022
Iain Buclaw
December 09, 2018
https://issues.dlang.org/show_bug.cgi?id=19471

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86                         |All
                 OS|Windows                     |All

--
December 10, 2018
https://issues.dlang.org/show_bug.cgi?id=19471

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=19014

--
December 10, 2018
https://issues.dlang.org/show_bug.cgi?id=19471

Mike Franklin <slavo5150@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=10378

--- Comment #1 from Mike Franklin <slavo5150@yahoo.com> ---
The example in the previous comment was supposed to be:

// file c/b.d
module c.b;

public void aPublicFunction() {}

package void aPackageFunction() {}

// file a.d
module a;

public import c.b;

// file main.d
import a;

void main()
{
    aPublicFunction();
    aPackageFunction();   // Typo:  Private instead of Package
}

Anyway, this works fine if compiling with `-transition=import`.  I don't know

--
December 10, 2018
https://issues.dlang.org/show_bug.cgi?id=19471

--- Comment #2 from Mike Franklin <slavo5150@yahoo.com> ---
`-transtion=import` was implemented with the fix for issue 10378.

I don't know if the compiler is transitioning to the behavior of the current compiler implementation, or transitioning away from the current implementation to the behavior in `-transition=import`.

--
December 10, 2018
https://issues.dlang.org/show_bug.cgi?id=19471

--- Comment #3 from Mike Franklin <slavo5150@yahoo.com> ---
This should be resolved whenever the visibility and lookup deprecations are removed.

https://github.com/dlang/dmd/pull/9058 https://github.com/dlang/dmd/pull/7241

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19471

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--