Issue 336 in glassdb: temp variable shadowing an instance variable causes method loss when redefining the class

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

Issue 336 in glassdb: temp variable shadowing an instance variable causes method loss when redefining the class

glassdb
Status: Accepted
Owner: [hidden email]
Labels: Type-Defect Priority-Medium GLASS-Server Version-GLASS0.231

New issue 336 by [hidden email]: temp variable shadowing an instance  
variable causes method loss when redefining the class
http://code.google.com/p/glassdb/issues/detail?id=336

In [1], Yuet Ip reports:

More of an annoyance than an outright bug. (Or possibly not a bug at all  
depending on whether there is a simple work-around).
If you were to redefine a class to add a new inst var which happens to be  
also a temp var in certain methods;
those methods will disappear without warning.

Browsing the class history will show:

     "This method does not exist."
     self halt.


[1] http://forum.world.st/GLASS-Bug-Report-tt4494528.html