While trying a (Compiler recompileAll) to check my fix, I had a strange thing happening: Error selector changed!Indeed: (Symbol allSubInstances reject: [:e | (Symbol findInterned: e asString) == e]) asArray -> #(#comparingStringBetween:and: #openDebuggerOnFailingTestMethod #executeShould:inScopeOf:withExceptionDo: #deny:description:resumable: #debugAsFailure #runCaseAsFailure: #executeShould:inScopeOf:withDescriptionNotContaining: #logFailure: #executeShould:inScopeOf:withDescriptionContaining: #extensions) Is it only me, or can someone confirm? Nicolas |
On 5 April 2013 20:36, Nicolas Cellier
<[hidden email]> wrote: > While trying a (Compiler recompileAll) to check my fix, I had a strange > thing happening: > Error selector changed! > > Indeed: > > (Symbol allSubInstances reject: [:e | (Symbol findInterned: e asString) == > e]) asArray > -> > #(#comparingStringBetween:and: #openDebuggerOnFailingTestMethod > #executeShould:inScopeOf:withExceptionDo: #deny:description:resumable: > #debugAsFailure #runCaseAsFailure: > #executeShould:inScopeOf:withDescriptionNotContaining: #logFailure: > #executeShould:inScopeOf:withDescriptionContaining: #extensions) > > Is it only me, or can someone confirm? I think it's only you: I get an empty array. Every one of those methods is on TestCase though: (((#(#comparingStringBetween:and: #openDebuggerOnFailingTestMethod #executeShould:inScopeOf:withExceptionDo: #deny:description:resumable: #debugAsFailure #runCaseAsFailure: #executeShould:inScopeOf:withDescriptionNotContaining: #logFailure: #executeShould:inScopeOf:withDescriptionContaining: #extensions) gather: [:sel | SystemNavigation default allImplementorsOf: sel])) collect: [:mref | mref actualClass]) asSet "=> a Set(TestCase)" frank > Nicolas > > > |
I can trigger the bug at each (Compiler recompileAll), but it seems that a Symbol rehash cures the problem... Strange, because this image is a Squeak4.4 regularly updated to current trunk version, and clean of my own experiments (just used to run tests and fix bugs...).2013/4/5 Frank Shearar <[hidden email]> On 5 April 2013 20:36, Nicolas Cellier |
Free forum by Nabble | Edit this page |