Re: [Factor-talk] HOOK: Confusion

2018-07-28 Thread Alexander Ilin
Actually, the reasons for that may have been a little misguided. Basically, I wanted to substitute my own versions of the delete, move and copy methods with a `with-variable` scoping. So, I created a symbol that had the three (four, actually) methods defined for it, as opposed to having the infinit

Re: [Factor-talk] HOOK: Confusion

2018-07-28 Thread John Benediktsson
Oh, so you are redefining the hook to use a different variable and it’s failing when used by another vocab? I’ll look at that later. Little busy today. Out of curiosity why would you want it to not use the io-backend variable? > On Jul 28, 2018, at 1:20 PM, Alexander Ilin wrote: > > I have n

Re: [Factor-talk] HOOK: Confusion

2018-07-28 Thread Alexander Ilin
I have now pushed a branch, which adds a single commit, compared to the latest master: https://github.com/AlexIljin/factor/tree/dmc-backend(DMC stands for Delete, Move, Copy.) You can see the error I'm talking about if you:- take the branch,- start the latest build of Factor from the build farm,- p

Re: [Factor-talk] HOOK: Confusion

2018-07-27 Thread John Benediktsson
It shouldn't fail like that, so maybe there's an issue with reloads? Do you have a simple way to reproduce it? On Fri, Jul 27, 2018 at 10:20 AM Alexander Ilin wrote: > Hello! > > Sometimes I see weird errors like this: > > Generic word `delete-directory` does not define a method for the `word

[Factor-talk] HOOK: Confusion

2018-07-27 Thread Alexander Ilin
Hello! Sometimes I see weird errors like this: Generic word `delete-directory` does not define a method for the `word` class. Dispatching on object: `windows` But the Browser shows that the method `delete-directory` IS defined for the `windows` symbol. Why do the `HOOK:`s fail like this s