[Swift-commit] r2971 - trunk/src/org/griphyn/vdl/karajan/lib
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Mon Jun 22 09:50:26 CDT 2009
Author: benc
Date: 2009-06-22 09:50:26 -0500 (Mon, 22 Jun 2009)
New Revision: 2971
Modified:
trunk/src/org/griphyn/vdl/karajan/lib/SwiftArg.java
Log:
handle nulls in SwiftArg - this makes misc/ordering-extern-notlazy test work again
Modified: trunk/src/org/griphyn/vdl/karajan/lib/SwiftArg.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/SwiftArg.java 2009-06-22 13:40:53 UTC (rev 2970)
+++ trunk/src/org/griphyn/vdl/karajan/lib/SwiftArg.java 2009-06-22 14:50:26 UTC (rev 2971)
@@ -89,6 +89,8 @@
Object v = super.getValue(stack);
if(v instanceof DSHandle) {
return (DSHandle)v;
+ } else if(v == null) {
+ return null;
} else {
throw new ExecutionException("Expected Swift data, but got some primitive type (" + v + ")");
}
More information about the Swift-commit
mailing list