api: Catch up with GNU Smalltalk changes to >>#new
In master >>#new will call initialize but we don't want to call >>#initialize before we have set some instance variables. Use the >>#basicNew to avoid that.
This commit is contained in:
parent
d78dfc41aa
commit
6dce5cca43
|
@ -45,7 +45,7 @@ Object subclass: BSCConnection [
|
|||
|
||||
BSCConnection class >> createOn: aConfig msc: aMsc [
|
||||
<category: 'creation'>
|
||||
^ self new
|
||||
^ self basicNew
|
||||
instVarNamed: #config put: aConfig;
|
||||
instVarNamed: #msc put: aMsc;
|
||||
initialize;
|
||||
|
|
Reference in New Issue