This is the easiest reproduction case I could come up with.
Inspect this: | d | d := IdentityDictionary new. d at: ('aTest' copy) put: 1. d at: ('aTest' copy) put: 3. d at: ('aTest' copy) put: 5. d Then dive into the first element, 1. Pop back out and dive into the second element. You are inspecting the first element, 1. Not 3. The problem seems to be that KeyedElement>>sameTypeEquals: uses an equality test. If there are equal keys in the list, this problem will occur. Perhaps a identity test would be better? eric _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
AR 54447...
-----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Eric Winger Sent: Friday, May 30, 2008 1:58 PM To: vwnc-list Subject: [vwnc] Dives into some inspector elements wrong This is the easiest reproduction case I could come up with. Inspect this: | d | d := IdentityDictionary new. d at: ('aTest' copy) put: 1. d at: ('aTest' copy) put: 3. d at: ('aTest' copy) put: 5. d Then dive into the first element, 1. Pop back out and dive into the second element. You are inspecting the first element, 1. Not 3. The problem seems to be that KeyedElement>>sameTypeEquals: uses an equality test. If there are equal keys in the list, this problem will occur. Perhaps a identity test would be better? eric _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Eric Winger
On May 30, 2008, at 1:57 PM, Eric Winger wrote: > This is the easiest reproduction case I could come up with. > > Inspect this: > > | d | > d := IdentityDictionary new. > d at: ('aTest' copy) put: 1. > d at: ('aTest' copy) put: 3. > d at: ('aTest' copy) put: 5. > d > > Then dive into the first element, 1. > Pop back out and dive into the second element. > You are inspecting the first element, 1. Not 3. > > The problem seems to be that KeyedElement>>sameTypeEquals: uses an > equality test. If there are equal keys in the list, this problem will > occur. > > Perhaps a identity test would be better? Thanks Eric very much. 54448 has been created. I appreciate the diagnosis of the prob as well. And the test case. -- Travis Griggs Objologist "Dying men never wish they'd spent more time at the office" _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Andres Valloud-6
Hello everyone, I am doing some initial
research for a new project but am a little lost at this point. I am wondering
if someone out there can point me in the right direction. Here’s what I
have: We have a system in VW 7.4. This
project will require that the system receives some information from another (non-Smalltalk)
application and perform a specific action (open a window). So, the initial idea
was to use web service to perform the communication between the two
applications. The problem I am having is that I could not (as of yet) determine
how my Smalltalk application will be able to receive the request (no response
required) from the other application. Would you have any ideas on how this can
be done? Just to add more information, the
intention is to have a middleware that could listen for requests and direct that
to our VW application. TIA, Roberto _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hello,
You can try to set Opentalk-Soap server and describe the request as one-way operation in your WSDL schema. http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement 16651160 Tamara Kogan Smalltalk development, Cincom Systems > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf > Of Roberto Fonseca > Sent: Friday, July 18, 2008 11:39 AM > To: vwnc-list > Subject: [vwnc] Web Services? > > Hello everyone, > > > > I am doing some initial research for a new project but am a little > this point. I am wondering if someone out there can point me in the right > direction. Here's what I have: > > > > We have a system in VW 7.4. This project will require that the system > receives some information from another (non-Smalltalk) application and > perform a specific action (open a window). So, the initial idea was to use > web service to perform the communication between the two applications. The > problem I am having is that I could not (as of yet) determine how my > Smalltalk application will be able to receive the request (no response > required) from the other application. Would you have any ideas on how this > can be done? > > > > Just to add more information, the intention is to have a middleware that > could listen for requests and direct that to our VW application. > > > > TIA, > > > > Roberto _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |