Browse Source

Issue #969 - amberc "RethrowErrorHandler does not understand #handleError:"
- Remove super send from RethrowErrorHandler>>#handleError:

Sean DeNigris 10 years ago
parent
commit
eed1490d9a
2 changed files with 2 additions and 5 deletions
  1. 2 4
      src/Compiler-Exceptions.js
  2. 0 1
      src/Compiler-Exceptions.st

+ 2 - 4
src/Compiler-Exceptions.js

@@ -207,13 +207,11 @@ protocol: 'error handling',
 fn: function (anError){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
-($ctx1.supercall = true, globals.RethrowErrorHandler.superclass.fn.prototype._handleError_.apply(_st(self), [anError]));
-$ctx1.supercall = false;
 self._basicSignal_(anError);
 return self}, function($ctx1) {$ctx1.fill(self,"handleError:",{anError:anError},globals.RethrowErrorHandler)})},
 args: ["anError"],
-source: "handleError: anError\x0a        super handleError: anError.\x0a        self basicSignal: anError",
-messageSends: ["handleError:", "basicSignal:"],
+source: "handleError: anError\x0a        self basicSignal: anError",
+messageSends: ["basicSignal:"],
 referencedClasses: []
 }),
 globals.RethrowErrorHandler);

+ 0 - 1
src/Compiler-Exceptions.st

@@ -104,7 +104,6 @@ basicSignal: anError
 !
 
 handleError: anError
-        super handleError: anError.
         self basicSignal: anError
 ! !