From 32f99e7091fbeca228341cea00e1df374d10cb42 Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Wed, 12 Nov 2008 07:23:34 +0100 Subject: [PATCH] Forgot D2 versioning on typeinfo change. --- gen/typinf.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gen/typinf.cpp b/gen/typinf.cpp index 6c0c509f..4222e0ab 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()