Mixin Template Function Attributes

jmh530 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jan 20 11:50:12 PST 2016


On Wednesday, 20 January 2016 at 19:48:04 UTC, jmh530 wrote:
> On Wednesday, 20 January 2016 at 19:19:04 UTC, Marc Schütz 
> wrote:
>> On Wednesday, 20 January 2016 at 16:37:31 UTC, jmh530 wrote:
>>> I'm not sure if this is how the behavior is supposed to be or 
>>> if it is a bug.
>>
>> I believe, however, that it _is_ a bug that the imported 
>> symbols are visible outside the template. Most likely related 
>> to the infamous https://issues.dlang.org/show_bug.cgi?id=314
>
> Thanks. The fact that one worked and the other didn't was what 
> I found weird.

It looks like this issue covers it
https://issues.dlang.org/show_bug.cgi?id=12735

It appears that there is a pull request in the works to fix the 
behavior.


More information about the Digitalmars-d-learn mailing list