From 6dce5cca433dfecbc785b1c100a0af3751bd4ab3 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 7 Aug 2016 18:03:51 +0200 Subject: [PATCH] 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. --- src/BSCIPAConnection.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BSCIPAConnection.st b/src/BSCIPAConnection.st index 244dcff..67f5aa5 100644 --- a/src/BSCIPAConnection.st +++ b/src/BSCIPAConnection.st @@ -45,7 +45,7 @@ Object subclass: BSCConnection [ BSCConnection class >> createOn: aConfig msc: aMsc [ - ^ self new + ^ self basicNew instVarNamed: #config put: aConfig; instVarNamed: #msc put: aMsc; initialize;