resolve ldc-developers/ldc#773