[REG2.067a] Issue 13550 - Inner functions take outer function attributes erroneously

https://issues.dlang.org/show_bug.cgi?id=13550