> On 25 Jan 2018, at 23:24, Dominique Dartois <d...@dartois.org> wrote:
> 
> Thanks Esteban.
> I was fooled by the doc : "In instance mode, the first argument is always the 
> repository on which to performed the operation"...
> Well, not really, but the object to store.

yeah, it should say: the receiver.

> 
> Regards
> 
> 2018-01-25 23:07 GMT+01:00 Esteban Lorenzano <esteba...@gmail.com 
> <mailto:esteba...@gmail.com>>:
> 
> 
> > On 25 Jan 2018, at 23:03, Dominique Dartois <d...@dartois.org 
> > <mailto:d...@dartois.org>> wrote:
> >
> > Hello all.
> >
> > I'am learning to use Voyage by trying the examples in the Voyage doc (in 
> > the Enterprise Pharo book).
> > I read "By default, Voyage works in instance mode".
> > If I run the example in instance mode, I get an error via the debugger.
> >
> > |repo anAssociation|
> > repo := VOMemoryRepository new.
> > anAssociation := #answer -> 42.
> > anAssociation save: repo.
> 
> repo save: anAssociation :)
> 
> cheers!
> Esteban
> 
> >  ==> "Instance of Association did not understand #save:"
> >
> > What am I doing wrong?
> >
> > --
> > Dominique
> 
> 
> 
> 
> 
> -- 
> Dominique

Reply via email to