diff dmd/TypeDArray.d @ 19:01cadcfa4842

Implemented CompileExp, ConditionalDeclaration, ModAssignExp, parsingmixin statements, TemplateAliasParameters, TemplateMixins, TypeDArray.
author Robert Clipsham <robert@octarineparrot.com>
date Tue, 06 Apr 2010 02:21:04 +0100
parents 2cc604139636
children 460959608115
line wrap: on
line diff
--- a/dmd/TypeDArray.d	Mon Apr 05 19:16:14 2010 +0100
+++ b/dmd/TypeDArray.d	Tue Apr 06 02:21:04 2010 +0100
@@ -161,7 +161,8 @@
 	
     int isString()
 	{
-		assert(false);
+    TY nty = next.toBasetype().ty;
+    return nty == TY.Tchar || nty == TY.Twchar || nty == TY.Tdchar;
 	}
 	
     bool isZeroInit(Loc loc)