diff dmd/SymOffExp.d @ 64:4290d870944a

More fixes
author korDen
date Mon, 23 Aug 2010 20:29:15 +0400
parents 10317f0c89a5
children 2e2a5c3f943a
line wrap: on
line diff
--- a/dmd/SymOffExp.d	Mon Aug 23 16:52:24 2010 +0400
+++ b/dmd/SymOffExp.d	Mon Aug 23 20:29:15 2010 +0400
@@ -206,7 +206,10 @@
 
 	void scanForNestedRef(Scope sc)
 	{
-		assert(false);
+		//printf("SymOffExp.scanForNestedRef(%s)\n", toChars());
+		VarDeclaration v = var.isVarDeclaration();
+		if (v)
+			v.checkNestedReference(sc, Loc(0));
 	}
 
 	dt_t** toDt(dt_t** pdt)