www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13659] New: Executing a linked function from a mixin reduces

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 puremagic.com
          Reporter: rares.pop 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

--
Oct 25 2014