[Issue 13659] New: Executing a linked function from a mixin reduces scope
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Oct 25 21:18:00 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13659
Issue ID: 13659
Summary: Executing a linked function from a mixin reduces scope
Product: D
Version: unspecified
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: rares.pop at athanasys.com
This is what lead to this bug report:
http://forum.dlang.org/thread/glejhauqvodywiztyoxl@forum.dlang.org?page=2#post-lmdoubytkprobjkhrooc:40forum.dlang.org
When executing a linked (external library) function from a string mixin
statement the behaviour is different than when the function is from the same
library (app).
Invoking the external library function looses the "instantiation scope" of the
mixin which is the bug I am reporting.
The code is here: https://github.com/fusionbeam/infuse
--
More information about the Digitalmars-d-bugs
mailing list