Bladeren bron

Fixes an old class reference in ASTDebugger

Nicolas Petton 10 jaren geleden
bovenliggende
commit
505058399a
2 gewijzigde bestanden met toevoegingen van 5 en 5 verwijderingen
  1. 4 4
      js/Compiler-Interpreter.js
  2. 1 1
      st/Compiler-Interpreter.st

+ 4 - 4
js/Compiler-Interpreter.js

@@ -986,16 +986,16 @@ selector: "defaultInterpreterClass",
 category: 'defaults',
 fn: function (){
 var self=this;
-function $ASTSteppingInterpreter(){return smalltalk.ASTSteppingInterpreter||(typeof ASTSteppingInterpreter=="undefined"?nil:ASTSteppingInterpreter)}
+function $ASTInterpreter(){return smalltalk.ASTInterpreter||(typeof ASTInterpreter=="undefined"?nil:ASTInterpreter)}
 return smalltalk.withContext(function($ctx1) { 
 var $1;
-$1=$ASTSteppingInterpreter();
+$1=$ASTInterpreter();
 return $1;
 }, function($ctx1) {$ctx1.fill(self,"defaultInterpreterClass",{},smalltalk.ASTDebugger)})},
 args: [],
-source: "defaultInterpreterClass\x0a\x09^ ASTSteppingInterpreter",
+source: "defaultInterpreterClass\x0a\x09^ ASTInterpreter",
 messageSends: [],
-referencedClasses: ["ASTSteppingInterpreter"]
+referencedClasses: ["ASTInterpreter"]
 }),
 smalltalk.ASTDebugger);
 

+ 1 - 1
st/Compiler-Interpreter.st

@@ -344,7 +344,7 @@ nextNode
 !ASTDebugger methodsFor: 'defaults'!
 
 defaultInterpreterClass
-	^ ASTSteppingInterpreter
+	^ ASTInterpreter
 ! !
 
 !ASTDebugger methodsFor: 'initialization'!