Class Rename bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Class Rename bug

Eric Winger-4
If you rename a class that is used in a primitive method call, the
rename references browser that appears won't show a reference to the
primitive method.

Example:

class: OPCDAOPCITEMSTATE rename to -> OPCITEMSTATE.


somePrimitiveMethod

        <virtual stdcall: hresult 4 sdword dword dword* OPCDAOPCITEMSTATE** hresult**>
        ^self invalidCall


This isn't a really big deal, except if you happen to save a package
before you find the invalid name. Then you won't be able to install the
package. (Guess what I did)

You should be able to reproduce this by creating a ExternalStructure
subclass and then use it in a primitive call in a method in some other
class.

Eric