issue 13717

https://issues.dlang.org/show_bug.cgi?id=13717
Merge pull request #2692 from 9il/issue13717

fix issue 13717