DMD 2.071.1 and Issue 15925 - [REG 2.071] Import declaration from mixin templates are ignored

qznc via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 30 00:34:22 PDT 2016


On Thursday, 30 June 2016 at 05:42:36 UTC, captaindet wrote:
> the changelog to 2.071.1 lists 15925 as a fixed regression, and
> https://issues.dlang.org/show_bug.cgi?id=15925
> lists it as "RESOLVED FIXED"
>
> however, the issue as originally submitted still exists in 
> 2.071.1.
> so what is going on?
>
> for me as a non-core dev it is difficult to get the gist of the 
> discussion on the issue tracker... BUT if it was decided that 
> 15925 is INVALID or WONTFIX it must not be marked as RESOLVED 
> FIXED and be featured as a fixed regression.
>
> i thought i understood the enforced import rules. but if 15925 
> is indeed invalid, it looks like there had been also changes to 
> the way mixin statements (and maybe even mixin expressions?) 
> work. is this explained anywhere?

There is a commit [0] with a slightly different test case, where 
the mixin is in the same module. A second testcase which directly 
mirrors the issue was reverted [1]. This suggests it is INVALID.

I agree that the resolution of the issue is not sufficiently 
explained.

[0] 
https://github.com/dlang/dmd/commit/ba178e607c33e121142ec15c5064d953fd87a191
[1] 
https://github.com/dlang/dmd/commit/f0f38381ed27fd8a4d2e36d13623698970cff7bd


More information about the Digitalmars-d mailing list