PeekableStream.st
changeset 18877 9c305830c1ef
parent 18479 edff93c290bb
child 18883 765cf9dca720
child 19122 8efb7d70bdfe
--- a/PeekableStream.st	Thu Oct 29 12:06:56 2015 +0100
+++ b/PeekableStream.st	Thu Oct 29 12:07:15 2015 +0100
@@ -435,7 +435,7 @@
                 someone notNil ifTrue:[someone source:aString]
             ].
             someone perform:#reader: with:(SourceFileLoader::SourceFileReader new) ifNotUnderstood:[].
-            compiler := Smalltalk::Compiler new.
+            compiler := (Smalltalk at:#Compiler) new.
             compiler allowUndeclaredVariables:false.
 
             sawExcla ifFalse:[
@@ -443,7 +443,7 @@
                 rslt := compiler evaluate:aString receiver:someone notifying:someone compile:false.
             ] ifTrue:[
                 "/ methodsFor chunks, etc., which generate a reader
-                Smalltalk::Compiler emptySourceNotificationSignal handle:[:ex |
+                (Smalltalk at:#Compiler) emptySourceNotificationSignal handle:[:ex |
                     ^ nil
                 ] do:[
                     rslt := compiler