diff dmd/VarExp.d @ 109:ceda59b4d255

expression.c changes, now only ddoc should be left
author Trass3r
date Tue, 31 Aug 2010 22:08:52 +0200
parents 6da99741178e
children e28b18c23469
line wrap: on
line diff
--- a/dmd/VarExp.d	Tue Aug 31 21:41:01 2010 +0200
+++ b/dmd/VarExp.d	Tue Aug 31 22:08:52 2010 +0200
@@ -216,8 +216,8 @@
 	override Expression modifiableLvalue(Scope sc, Expression e)
 	{
 		//printf("VarExp::modifiableLvalue('%s')\n", var.toChars());
-		if (type && type.toBasetype().ty == TY.Tsarray)
-			error("cannot change reference to static array '%s'", var.toChars());
+		//if (type && type.toBasetype().ty == TY.Tsarray)
+		//	error("cannot change reference to static array '%s'", var.toChars());
 
 		var.checkModify(loc, sc, type);