You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing code and HeuristicCompletion triggers a selector lookup, it can lead to an exception when a method with this selector is instrumented.
This happens because the selector is a MpHiddenSelector: Message not understood: MpHiddenSelector >> #asSymbol.
Here is the stack trace
MpHiddenSelector(Object)>>doesNotUnderstand:#asSymbolCoAvoidRepeatedFetcher>>hasAlreadyReturned:
[ :elem |
(selfhasAlreadyReturned: elem)
ifFalse: [
"As the NECEntry does not know how to compare I will enter the content as symbol"
elements add: elem contents asSymbol.
aBlock value: elem ] ] in CoAvoidRepeatedFetcher>>entriesDo: in Block: [ :elem |...
[ :e |
aBlock value: (NECSelectorEntrycontents: e node: astNode)] in CoClassImplementedMessagesFetcher>>entriesDo: in Block: [ :e |...
MethodDictionary>>keysDo:Behaviorclass(Behavior)>>selectorsDo:CoClassImplementedMessagesFetcher>>entriesDo:CoHierarchyFetcher>>entriesDo:
[ :completion | completion entriesDo: aBlock ] in CoFetcherSequence>>entriesDo: in Block: [ :completion | completion entriesDo: aBlock ]
OrderedCollection>>do:OrderedCollection>>do:CoFetcherSequence>>entriesDo:CoAvoidRepeatedFetcher>>entriesDo:CoNarrowHistoryFetcher>>entriesDo:
[ :g |
selfentriesDo: [ :entry |
(selfacceptsEntry: entry)
ifTrue: [ g yield: entry ] ] ] in CoNarrowHistoryFetcher(CoFetcher)>>generator in Block: [ :g |...
Generator>>fork
CoNarrowHistoryFetcher(CoFetcher)>>next
[ (last :=self next) ifNotNil: [ :each |
stream nextPut: each.
total := total +1 ] ] in [ :stream | | totallast |
total :=0.
[ (last :=self next) ifNotNil: [ :each |
stream nextPut: each.
total := total +1 ] ]
doWhileTrue: [ total < anInteger and: [ last isNotNil ] ] ] in CoNarrowHistoryFetcher(CoFetcher)>>next: in Block: [ (last :=self next) ifNotNil: [ :each |...
FullBlockClosure(BlockClosure)>>doWhileTrue:
[ :stream | | totallast |
total :=0.
[ (last :=self next) ifNotNil: [ :each |
stream nextPut: each.
total := total +1 ] ]
doWhileTrue: [ total < anInteger and: [ last isNotNil ] ] ] in CoNarrowHistoryFetcher(CoFetcher)>>next: in Block: [ :stream | | totallast |...
Arrayclass(SequenceableCollectionclass)>>new:streamContents:CoNarrowHistoryFetcher(CoFetcher)>>next:CoResultSet>>fetch:CoResultSet>>ensureResults:CoResultSet>>first:CoCompletionContext>>entries
CoCompletionContext>>entryCount
NECMenuMorph>>itemsCount
NECMenuMorph>>selected:NECMenuMorph>>refreshSelection
NECMenuMorph>>engine:position:NECMenuMorphclass>>engine:position:CoCompletionEngine(CompletionEngine)>>openMenuForced:
[
editor atCompletionPosition ifTrue: [ selfopenMenuForced:false ]] in [
(DelayforMilliseconds:NECPreferences popupAutomaticDelay) wait.
MorphicUIManagernewdefer: [
editor atCompletionPosition ifTrue: [ selfopenMenuForced:false ]]
] in CoCompletionEngine(CompletionEngine)>>resetCompletionDelay in Block: [...
The text was updated successfully, but these errors were encountered:
When writing code and HeuristicCompletion triggers a selector lookup, it can lead to an exception when a method with this selector is instrumented.
This happens because the selector is a
MpHiddenSelector
:Message not understood: MpHiddenSelector >> #asSymbol
.Here is the stack trace
The text was updated successfully, but these errors were encountered: