I've seen it happen when editing an existing constructor that already has a Super.Constructor! Or even better - it often adds it to a class where the constructor requires params - i have Super.Constructor (foo) in the method but it adds Super.Constructor above... causing the compiler to throw errors.

I don't mind help writing code, but this has never struck me as helpful.

mike
--
Mike Woodworth
[EMAIL PROTECTED]



On Nov 13, 2006, at 10:29 PM, Karen wrote:


On Nov 13, 2006, at 10:24 PM, Charles Yeomans wrote:


Of course we have no way of knowing whether it is a bug, but I am able to produce the following behavior. Given a class A and a subclass B, add a method Constructor() to A. Then add a method X to B --

Sub X()
  dim s as String
End Sub

Now change the name of X to 'Constructor'; the IDE does this --


Sub Constructor()
  // Calling the overridden superclass constructor.
  Super.Constructordim s as string
End Sub



It happens to me sometime when editing code in existing constructors. While I've seen it numerous times, I don't know the exact steps to reliably reproduce... But it happens when I leave the method and come back to it... but not all the time. It may depend on where the cursor is.

- 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>

_______________________________________________
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>

Reply via email to