Supplemental fix for issue 7469

This is necessary for the compiler fix https://github.com/D-Programming-Language/dmd/pull/3536 .