smalltalk
/
osmo-st-msc
Archived
1
0
Fork 0

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:
Holger Hans Peter Freyther 2016-08-07 18:03:51 +02:00
parent d78dfc41aa
commit 6dce5cca43
1 changed files with 1 additions and 1 deletions

View File

@ -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;