SourceCodeManagerUtilities.st
changeset 2097 2cb761062819
parent 2096 2f2bc2d2794a
child 2106 35b6c567ff7e
--- a/SourceCodeManagerUtilities.st	Wed Jun 17 18:30:38 2009 +0200
+++ b/SourceCodeManagerUtilities.st	Tue Jun 30 12:51:05 2009 +0200
@@ -970,7 +970,7 @@
     Error handle:[:ex |
         (Dialog 
             confirm:(resources 
-                        stringWithCRs:'An error was encountered while trying to figure aout what has changed.\This might be due to some missing or corrupted source file.\IF you proceed, the old code will be loaded over the existing code without fursther checks (fileIn).\\Continue ?'
+                        stringWithCRs:'An error was encountered while trying to figure out what has changed.\This might be due to some missing or corrupted source file.\IF you proceed, the old code will be loaded over the existing code without fursther checks (fileIn).\\Continue ?'
                         ) 
             noLabel:'Cancel') 
         ifFalse:[
@@ -999,8 +999,10 @@
         changed := diffSet changed.
         onlyHere := diffSet onlyInReceiver.
         onlyHere := onlyHere select:[:eachDiff|  |methodsPackage|
-                methodsPackage := (eachDiff changeClass compiledMethodAt:eachDiff selector) package.
-                methodsPackage == containerPackage
+                eachDiff isClassDefinitionChange not and:[
+                    methodsPackage := (eachDiff changeClass compiledMethodAt:eachDiff selector) package.
+                    methodsPackage == containerPackage
+                ]
             ].
 
         onlyInRep := diffSet onlyInArg.
@@ -2982,5 +2984,5 @@
 !SourceCodeManagerUtilities class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic3/SourceCodeManagerUtilities.st,v 1.182 2009-06-17 16:30:38 sr Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic3/SourceCodeManagerUtilities.st,v 1.183 2009-06-30 10:51:05 stefan Exp $'
 ! !