[VW 7.9] cannot override method

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

[VW 7.9] cannot override method

Terry Raymond

You can no longer have a class override and a method override for the same

class and package.

 

1.       For a class Foo initially defined in package A, create a class override in package B.

2.       Select one of Foo’s method in package A and do a create override, putting it in package B.

3.       Notice the method definition did not move.

4.       Select the override tab and notice that package A appears on both sides of the override comparison.

 

Terry

 

===========================================================

Terry Raymond

Crafted Smalltalk

80 Lazywood Ln.

Tiverton, RI  02878

(401) 624-4517      [hidden email]

===========================================================

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [VW 7.9] cannot override method

Samuel S. Shuster-2
Terry,

Here is a serious query: Did this ever, in the RB is the browser world, work?

There may be a major hole in our "Model" mechanism that I've never gotten a full handle on.

You can no longer have a class override and a method override for the same
class and package.
 
1.       For a class Foo initially defined in package A, create a class override in package B.
2.       Select one of Foo’s method in package A and do a create override, putting it in package B.
3.       Notice the method definition did not move.
4.       Select the override tab and notice that package A appears on both sides of the override comparison.

Question: Does the same definition appear in both sides? My impression is that the override is there, and actually working, but I could be wrong.

                                And So It Goes
                                     Sames
______________________________________________________________________

Samuel S. Shuster [|]
VisualWorks Engineering, Store Project
Smalltalk Enables Success -- What Are YOU Using?





_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [VW 7.9] cannot override method

Terry Raymond

There is a fix in 7.8 to prevent packages from multiply overriding a method,

page 1-22 of the 7.8 release notes. It looks like it is too aggressive.

 

Terry

 

===========================================================

Terry Raymond

Crafted Smalltalk

80 Lazywood Ln.

Tiverton, RI  02878

(401) 624-4517      [hidden email]

===========================================================

 

From: Samuel S. Shuster [mailto:[hidden email]]
Sent: Friday, July 13, 2012 3:47 PM
To: Terry Raymond
Cc: VWNC
Subject: Re: [vwnc] [VW 7.9] cannot override method

 

Terry,

 

Here is a serious query: Did this ever, in the RB is the browser world, work?

 

There may be a major hole in our "Model" mechanism that I've never gotten a full handle on.



You can no longer have a class override and a method override for the same

class and package.

 

1.       For a class Foo initially defined in package A, create a class override in package B.

2.       Select one of Foo’s method in package A and do a create override, putting it in package B.

3.       Notice the method definition did not move.

4.       Select the override tab and notice that package A appears on both sides of the override comparison.

 

Question: Does the same definition appear in both sides? My impression is that the override is there, and actually working, but I could be wrong.

 

                                And So It Goes

                                     Sames

______________________________________________________________________

 

Samuel S. Shuster [|]

VisualWorks Engineering, Store Project

Smalltalk Enables Success -- What Are YOU Using?

 

 

 

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc