https://issues.dlang.org/show_bug.cgi?id=17836
--- Comment #5 from Iain Buclaw <ibuc...@gdcproject.org> --- (In reply to Iain Buclaw from comment #4) > > This is how you track the 'this' pointer for mmap to the frame of > printstuffs. > Also note that you can't trust toParent2() here, as it returns the function the template was declared in. Parent access should be done through toParent() to properly inspect whether a template comes from another template instance (declared in another context). --