[Swift-commit] r6080 - trunk/src/org/griphyn/vdl/engine

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Nov 23 03:24:03 CST 2012


Author: hategan
Date: 2012-11-23 03:24:02 -0600 (Fri, 23 Nov 2012)
New Revision: 6080

Modified:
   trunk/src/org/griphyn/vdl/engine/VariableScope.java
Log:
oops, I meant PARTIAL

Modified: trunk/src/org/griphyn/vdl/engine/VariableScope.java
===================================================================
--- trunk/src/org/griphyn/vdl/engine/VariableScope.java	2012-11-23 09:00:46 UTC (rev 6079)
+++ trunk/src/org/griphyn/vdl/engine/VariableScope.java	2012-11-23 09:24:02 UTC (rev 6080)
@@ -479,7 +479,7 @@
 		}
 		switch (enclosureType) {
 		    case CONDITION:
-		        if (parentScope.isVariableWriteable(name, WriteType.FULL)) {
+		        if (parentScope.isVariableWriteable(name, WriteType.PARTIAL)) {
 		            if (getTopmostLoopToDeclaration(name) != null) {
 		                Warnings.warn("Variable " + name + ", defined on line " + 
 		                    getDeclarationLine(name) + ", might have multiple conflicting writers");




More information about the Swift-commit mailing list