Bugs item #1439820, was opened at 2006-02-27 10:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1439820&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: DynamicJava
Group: Serious
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: interactive recursive method def/calls fail
Initial Comment:
ONe used to be able to write recursive method
definitions in the interactions pane, and then
call those methods.
Try a simple recursive method def
int sum(int n) {
if (n == 0)
return 0;
else
return n + sum(n-1);
}
Now call sum(0) or sum(1) or sum(2) or sum(5)
They fail with different error messages: mostly
Bad type in substraction or NullPointer Exception.
Even sum(0) fails! with a Bad Type in subtraction
error.
What exactly is the interactions pane doing if
it cannot evaluate such a simple method call?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1439820&group_id=44253
|