Revert "workaround for dmd bug #12089"

This reverts commit ab7fc3b5dbb5e12bad20311b5b72d09d2ecbb0c1.