Ok, but this just changes `'D main' cannot call impure function 'diag9620.foo'` to `'diag9620.main.bar' cannot call impure function 'diag9620.foo'`, which at least an improvement for non-static nested functions.