Bugs item #915906, was opened at 2004-03-14 07:07
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=915906&group_id=44253
Category: Interactions
Group: Serious
Status: Open
Resolution: None
Priority: 5
Submitted By: Charles Reis (csreis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Methods in Interactions no longer work
Initial Comment:
As of the 20040203-2304 development release, methods
can no longer be defined in the Interactions Pane.
(The current stable release works fine.)
> void foo() {}
Error: Bad types in assignment
> void foo(Object o) { String s = o.toString(); }
java.lang.ClassCastException:
As a side note, the return value of a void method shows
up as "null" in the Interactions Pane for the stable
release. We should be detecting it and using the
VoidResult class in model/repl/newjvm/...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=915906&group_id=44253
|