#FEATURE by cg
class: ByteCodeCompiler
changed: #compile:forClass:inCategory:notifying:install:skipIfSame:silent:foldConstants:ifFail:
ignore source code manager errors when checking for
same code.
--- a/ByteCodeCompiler.st Wed Jul 25 08:48:27 2018 +0200
+++ b/ByteCodeCompiler.st Tue Jul 31 14:28:37 2018 +0200
@@ -3187,7 +3187,13 @@
].
"check if same source"
- (skipIfSame and:[oldMethod notNil and:[oldMethod source = sourceCodeString]]) ifTrue:[
+ (skipIfSame
+ and:[oldMethod notNil
+ and:[ (SourceCodeManagerError
+ handle:[:ex | nil]
+ do:[oldMethod source]
+ ) = sourceCodeString
+ ]]) ifTrue:[
oldMethod isInvalid ifFalse:[
silencio ifFalse:[
Transcript showCR:(' unchanged: ',aClass name,' ',selector)