diff --git a/gen/typinf.cpp b/gen/typinf.cpp index 6c0c509f88..4222e0abed 100644 --- a/gen/typinf.cpp +++ b/gen/typinf.cpp @@ -230,7 +230,11 @@ int Type::builtinTypeInfo() int TypeBasic::builtinTypeInfo() { +#if DMDV2 return !mod; +#else + return 1; +#endif } int TypeDArray::builtinTypeInfo()