I just found something with the new IDE (that i THINk was not the
case with the old) that is a real pain.
I created a new event with a parameter, but mistyped the name of the
parameter type. As it was off only by one letter on the end i did not
notice it (graphic vs graphics) so i kept coding away merrily...
In a subclass I put code into that event. When I tried to compile I
got an error on the parameter type as an unknown class.
OK so i go back to the parent class (actually two levels up) and
fixed the parameter declaration expecting that to fix the problem and
complied again... and low and behold I get the same error!
It turns out that the change will not be propagated down to events in
the subclasses unless they do not contain any code! So I had to
delete the code then re-paste it in to get the event definition to
update.
That can be a royal pain in cases like this or when later on you
decide to add additional parameters to an event (which I tend to do
and that does NOT break existing code)
I don't recall having this problem in the old IDE... Bug or feature
request?
- karen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|