[Swift-commit] r6447 - branches/faster/src/org/griphyn/vdl/karajan/lib/swiftscript

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sun Apr 14 14:31:00 CDT 2013


Author: hategan
Date: 2013-04-14 14:31:00 -0500 (Sun, 14 Apr 2013)
New Revision: 6447

Modified:
   branches/faster/src/org/griphyn/vdl/karajan/lib/swiftscript/FnArg.java
Log:
fixed @arg with default value

Modified: branches/faster/src/org/griphyn/vdl/karajan/lib/swiftscript/FnArg.java
===================================================================
--- branches/faster/src/org/griphyn/vdl/karajan/lib/swiftscript/FnArg.java	2013-04-14 19:29:57 UTC (rev 6446)
+++ branches/faster/src/org/griphyn/vdl/karajan/lib/swiftscript/FnArg.java	2013-04-14 19:31:00 UTC (rev 6447)
@@ -46,7 +46,7 @@
     
 	@Override
     protected Signature getSignature() {
-        return new Signature(params("name", optional("value", null)));
+        return new Signature(params("name", "value"));
     }
 
     @Override




More information about the Swift-commit mailing list