[armedbear-cvs] r13510 - trunk/abcl/src/org/armedbear/lisp

ehuelsmann at common-lisp.net ehuelsmann at common-lisp.net
Tue Aug 16 13:45:30 UTC 2011


Author: ehuelsmann
Date: Tue Aug 16 06:45:28 2011
New Revision: 13510

Log:
Assign fields the value of the arguments, instead of the values of
the fields themselves. Fixes Wrong number of arguments error message.

Modified:
   trunk/abcl/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java

Modified: trunk/abcl/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java	Tue Aug 16 05:16:29 2011	(r13509)
+++ trunk/abcl/src/org/armedbear/lisp/WrongNumberOfArgumentsException.java	Tue Aug 16 06:45:28 2011	(r13510)
@@ -52,8 +52,8 @@
         // own Java class as a convenience for the implementation.
         super(StandardClass.PROGRAM_ERROR);
         this.operator = operator;
-	this.expectedMinArgs = expectedMinArgs;
-	this.expectedMaxArgs = expectedMaxArgs;
+	this.expectedMinArgs = expectedMin;
+	this.expectedMaxArgs = expectedMax;
         setFormatControl(getMessage());
         setFormatArguments(NIL);
     }




More information about the armedbear-cvs mailing list