April 11, 2014
https://issues.dlang.org/show_bug.cgi?id=5902

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> ---
(In reply to kennytm from comment #0)
> Test case:
> 
> --------------------
> // x.d:
> import y;
> struct A(alias f) {
>     void front() {
>         f();
>     }
> }
> void main() {
>     int sectid;
>     void g(){ cast(void) sectid; }  // access a local variable (make a
> closure)
>     s!(A!g);
> }
> --------------------
> // y.d:
> void s(ROR)() {
>     void r() {
>         ROR().front();
>     }
> }

By fixing issue 8704, ROR() in y.d will produce "cannot access frame pointer of x.main" error from front-end layer. Then the glue-layer error will be fixed.

*** This issue has been marked as a duplicate of issue 8704 ***

--