|
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: 5 – Fix If Time
|
|
Status: Work Needed
|
|
Assigned to: Everyone
|
|
Milestone: Pharo7.0
|
Go to Case
|
|