D-Programming-Language/dmd — pull request #2890 by 9rnsr (2013-11-27 11:16:32+00:00)
Title: Issue 7966 - First template instantiation inside `with` results in `Error 42: Symbol Undefined`

https://d.puremagic.com/issues/show_bug.cgi?id=7966

Always use `WithScopeSymbol` to make correct chain of `scopesym->parent`.