Re: Accessing function frame from struct

2017-06-26 Thread Ali Çehreli via Digitalmars-d-learn
On 06/25/2017 06:01 AM, Sebastien Alaiwan wrote: > Hi guys, > here's my full code below. > My problem is that last "auto Y = X" assignment, that the compiler won't > accept: > > yo.globalFunction.DirectStruct.IndirectStruct.indirectMemberFunc cannot > access frame of function yo.globalFunction > >

Accessing function frame from struct

2017-06-25 Thread Sebastien Alaiwan via Digitalmars-d-learn
Hi guys, here's my full code below. My problem is that last "auto Y = X" assignment, that the compiler won't accept: yo.globalFunction.DirectStruct.IndirectStruct.indirectMemberFunc cannot access frame of function yo.globalFunction I was expecting X to be accessible from here. Suprisingly, i