Commit a3518eed authored by ehuelsmann@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar ehuelsmann@1c010e3e-69d0-11dd-93a8-456734b0d56f
Browse files

Assign fields the value of the arguments, instead of the values of

the fields themselves. Fixes Wrong number of arguments error message.
parent 2c208485
......@@ -52,8 +52,8 @@ public final class WrongNumberOfArgumentsException extends ProgramError
// 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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment