[Swift-commit] r7321 - trunk/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Mon Nov 25 01:58:17 CST 2013


Author: hategan
Date: 2013-11-25 01:58:16 -0600 (Mon, 25 Nov 2013)
New Revision: 7321

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/New.java
Log:
avoid passing swift#descriptor to mappers

Modified: trunk/src/org/griphyn/vdl/karajan/lib/New.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/New.java	2013-11-25 06:08:56 UTC (rev 7320)
+++ trunk/src/org/griphyn/vdl/karajan/lib/New.java	2013-11-25 07:58:16 UTC (rev 7321)
@@ -112,7 +112,7 @@
 		
 		Type type = getType(typename);
 		if (type.hasNonPrimitiveComponents()) {
-		    String desc = (String) mapping.get("swift#descriptor");
+		    String desc = (String) mapping.remove("swift#descriptor");
 		    try {
                 mapper = MapperFactory.getMapper(desc);
             }




More information about the Swift-commit mailing list