Manuscript (Case [Issue]22308) _Inbox - Cleaning baseClass/classClass leftovers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]22308) _Inbox - Cleaning baseClass/classClass leftovers

Pharo Issue Tracker
Manuscript Notification
avatar
Cleanup in Project:  _Inbox: Not Spam  •  You are subscribed to this case
I have the impression that my changes breaks senders/implementors in findSelectorFromAST

Now the logic of findSelectorFromAST is really bad since the client has no way to know that the fallbackBlock has been sent.

findSelectorFromAST
"Try to make a selector out of the current text selection"

| node fallbackBlock |

fallbackBlock := [^self].
node := self bestNodeInTextAreaOnError: fallbackBlock.

node isMethod ifFalse: [
(node isValue and: [ node value isSymbol ]) ifTrue: [ ^node value ].

[ node isMessage ] whileFalse: [
(node := node parent) ifNil: fallbackBlock ]].

^node selector
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker