Issue 12719 - struct.c:705: virtual void StructDeclaration::semantic(Scope*): Assertion `parent && parent == sc->parent' failed.

https://issues.dlang.org/show_bug.cgi?id=12719

Fix the case reported by @monarchdodra .