#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Thu, 26 Apr 2018 15:29:38 +0200
changeset 4240 f7899ca6f9e6
parent 4239 18d2206e2674
child 4241 770afcca861e
child 4259 c707f9aa7015
#BUGFIX by cg class: Parser class changed: #findBest:selectorsFor:in:forCompletion:
Parser.st
--- a/Parser.st	Tue Apr 24 21:32:56 2018 +0200
+++ b/Parser.st	Thu Apr 26 15:29:38 2018 +0200
@@ -831,7 +831,7 @@
         (forCompletion and:[sym = aString or:[sym argumentCount < minNumArgs]]) ifFalse:[
             lcSym := sym asLowercase.
             (selectorsAlready includes:sym) ifFalse:[
-            "/ (info contains:[:i | i key == sym]) ifFalse:[
+                "/ (info contains:[:i | i key == sym]) ifFalse:[
 
                 forCompletion ifTrue:[
                     "/ OLD: similarity := 100 * (1 + (lcSelector size / lcSym size)).
@@ -904,10 +904,10 @@
             cls methodDictionary keysAndValuesDo:block.
             "/ cls class methodDictionary keysAndValuesDo:block.
         ].
-"/        loadedClass withAllSubclassesDo:[:cls |
-"/            cls methodDictionary keysAndValuesDo:block.
-"/            "/ cls class methodDictionary keysAndValuesDo:block.
-"/        ].
+        aClassOrNil withAllSubclassesDo:[:cls |
+            cls methodDictionary keysAndValuesDo:block.
+            "/ cls class methodDictionary keysAndValuesDo:block.
+        ].
     ].
 
     ^ info collect:[:a | a key] as:OrderedCollection.