https://issues.dlang.org/show_bug.cgi?id=5902
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Kenji Hara <[email protected]> --- (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 *** --
