AbstractNautilusUI "error, should not happen" from LayoutEmptyScope(LayoutAbstractScope)>>rebase:to:
In build 40239, if I try to add an instance variable (e.g. 'xx') to AbstractNautilusUI, I get "Error: should not happen" from LayoutEmptyScope(LayoutAbstractScope)>>rebase:to: A tried a few other classes and they are okay. I've tracked this down to occur since build 40147... 13697 Yet another cleanup of MessageBrowser API https://pharo.fogbugz.com/f/cases/13697 13698 Small cleanup of Model and the UI package https://pharo.fogbugz.com/f/cases/13698 13696 Nautilus Refactoring 1: Classlist widget https://pharo.fogbugz.com/f/cases/13696 Is this a known problem? I can't identify a ticket on the tracker. cheers -ben
Yes, this is why https://pharo.fogbugz.com/f/cases/13606/testSlotScopeParallelism-is-failing is faling, too. There is a root cause for this that in some cases when changing classes that the layout gets not updated correctly... On 21 Sep 2014, at 03:42, Ben Coman <btc@openInWorld.com> wrote:
In build 40239, if I try to add an instance variable (e.g. 'xx') to AbstractNautilusUI, I get "Error: should not happen" from LayoutEmptyScope(LayoutAbstractScope)>>rebase:to: A tried a few other classes and they are okay. I've tracked this down to occur since build 40147...
13697 Yet another cleanup of MessageBrowser API https://pharo.fogbugz.com/f/cases/13697
13698 Small cleanup of Model and the UI package https://pharo.fogbugz.com/f/cases/13698
13696 Nautilus Refactoring 1: Classlist widget https://pharo.fogbugz.com/f/cases/13696
Is this a known problem? I can't identify a ticket on the tracker.
cheers -ben
On 22 sept. 2014, at 09:14, Marcus Denker <marcus.denker@inria.fr> wrote:
Yes, this is why
https://pharo.fogbugz.com/f/cases/13606/testSlotScopeParallelism-is-failing
is faling, too.
There is a root cause for this that in some cases when changing classes that the layout gets not updated correctly...
Yes it's been a while that we suffer from this bug. Now that we found a way to reproduce it I could post a fix to review (https://pharo.fogbugz.com/f/cases/13606/testSlotScopeParallelism-is-failing). To reproduce create two class, one subclass of the other. Then add a class variable or a shared pool in the superclass. Then, you can see that the slot scope of the subclass is not correctly updated: TheSubclass layout slotScope parentScope == TheSubclass superclass layout slotScope. ---> false
On 21 Sep 2014, at 03:42, Ben Coman <btc@openInWorld.com> wrote:
In build 40239, if I try to add an instance variable (e.g. 'xx') to AbstractNautilusUI, I get "Error: should not happen" from LayoutEmptyScope(LayoutAbstractScope)>>rebase:to: A tried a few other classes and they are okay. I've tracked this down to occur since build 40147...
13697 Yet another cleanup of MessageBrowser API https://pharo.fogbugz.com/f/cases/13697
13698 Small cleanup of Model and the UI package https://pharo.fogbugz.com/f/cases/13698
13696 Nautilus Refactoring 1: Classlist widget https://pharo.fogbugz.com/f/cases/13696
Is this a known problem? I can't identify a ticket on the tracker.
cheers -ben
Yes, this holds me be back for further refactorings on Nautilus. I was able to add a InstVar on NautilusUI and after that you can add and remove instvars again even on AbstractNautilusUI. But then you can not add this changes as a slice, I tried this but it failed: 13739 <https://pharo.fogbugz.com/default.asp?13739> Nautilus Refactoring 5: intermediate code cleanup (remove unused methods) btw this happens even before build 40147 I'll try to figure out what is needed to solve this issue. 2014-09-20 15:53 GMT+02:00 Ben Coman <btc@openinworld.com>:
In build 40239, if I try to add an instance variable (e.g. 'xx') to AbstractNautilusUI, I get "Error: should not happen" from LayoutEmptyScope( LayoutAbstractScope)>>rebase:to: A tried a few other classes and they are okay. I've tracked this down to occur since build 40147...
13697 Yet another cleanup of MessageBrowser API https://pharo.fogbugz.com/f/cases/13697
13698 Small cleanup of Model and the UI package https://pharo.fogbugz.com/f/cases/13698
13696 Nautilus Refactoring 1: Classlist widget https://pharo.fogbugz.com/f/cases/13696
Is this a known problem? I can't identify a ticket on the tracker.
cheers -ben
participants (4)
-
Ben Coman -
Camille Teruel -
Marcus Denker -
Nicolai Hess