Browse Source

Not calling super initialize in class-side initialize

Herbert Vojčík 10 years ago
parent
commit
3223ac30eb
2 changed files with 2 additions and 4 deletions
  1. 2 3
      js/Kernel-Infrastructure.js
  2. 0 1
      st/Kernel-Infrastructure.st

+ 2 - 3
js/Kernel-Infrastructure.js

@@ -2651,12 +2651,11 @@ protocol: 'initialization',
 fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
-smalltalk.SmalltalkImage.klass.superclass.fn.prototype._initialize.apply(_st(self), []);
 _st(smalltalk)._at_put_("Smalltalk",self._current());
 return self}, function($ctx1) {$ctx1.fill(self,"initialize",{},smalltalk.SmalltalkImage.klass)})},
 args: [],
-source: "initialize\x0a\x09super initialize.\x0a\x09smalltalk at: 'Smalltalk' put: self current",
-messageSends: ["initialize", "at:put:", "current"],
+source: "initialize\x0a\x09smalltalk at: 'Smalltalk' put: self current",
+messageSends: ["at:put:", "current"],
 referencedClasses: []
 }),
 smalltalk.SmalltalkImage.klass);

+ 0 - 1
st/Kernel-Infrastructure.st

@@ -994,7 +994,6 @@ SmalltalkImage class instanceVariableNames: 'current'!
 !SmalltalkImage class methodsFor: 'initialization'!
 
 initialize
-	super initialize.
 	smalltalk at: 'Smalltalk' put: self current
 ! !