#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Thu, 05 Mar 2020 11:17:54 +0100
changeset 4648 8d269996803a
parent 4647 ad7e7794f729
child 4649 7c006b105992
#UI_ENHANCEMENT by cg class: Parser changed: #errorMessageForUndefined: #selectorCheck:for:positions: typos: genitive of class is class's - not classes.
Parser.st
--- a/Parser.st	Wed Feb 26 14:49:26 2020 +0100
+++ b/Parser.st	Thu Mar 05 11:17:54 2020 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
               All Rights Reserved
@@ -4468,7 +4466,7 @@
                         and:[receiver receiver isSelf]]) ifTrue:[
                 "it's a message to self class - can check this too ..."
                 classToCompileFor isMeta ifTrue:[
-                    err := err, ' for the classes class'.
+                    err := err, ' for the class''s class'.
                     (self checkSelector:selectorSymbol for:receiver inClass:classToCompileFor) isNil ifTrue:[
                         err := err, '...\\...but its implemented for the class itself. You probably do not want the #class message here.'.
                         err := err withCRs.
@@ -4748,7 +4746,7 @@
         "/ is it an instance variable, while evaluating for the class ?
         classToCompileFor isMeta ifTrue:[
             (classToCompileFor soleInstance allInstVarNames includes:variableName) ifTrue:[
-                ^ '''%1'' is an instvar.\\Hint: you are evaluating/compiling in the classes context.' bindWith:nameBold.
+                ^ '''%1'' is an instvar.\\Hint: you are evaluating/compiling in the class''s context.' bindWith:nameBold.
             ]
         ]
     ].