[Swift-commit] r7751 - trunk/src/org/griphyn/vdl/mapping

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Mar 27 22:40:26 CDT 2014


Author: hategan
Date: 2014-03-27 22:40:26 -0500 (Thu, 27 Mar 2014)
New Revision: 7751

Modified:
   trunk/src/org/griphyn/vdl/mapping/RootDataNode.java
Log:
don't check existing for output data that isn't composite

Modified: trunk/src/org/griphyn/vdl/mapping/RootDataNode.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/RootDataNode.java	2014-03-28 01:55:33 UTC (rev 7750)
+++ trunk/src/org/griphyn/vdl/mapping/RootDataNode.java	2014-03-28 03:40:26 UTC (rev 7751)
@@ -167,6 +167,9 @@
 		        // which can happen in cases such as if(false) {a = ...}
 		        return;
 		    }
+		    if (!root.getType().isComposite()) {
+		        return;
+		    }
 			// Static mappers are (array) mappers which know the size of
 			// an array statically. A good example is the fixed array mapper
 		    if (logger.isDebugEnabled()) {




More information about the Swift-commit mailing list