From 7ea30742ee3a487568cb81f4480c81f3811bb835 Mon Sep 17 00:00:00 2001 From: Marcus Denker Date: Tue, 16 Jul 2019 09:30:09 +0200 Subject: [PATCH] fix typo --- src/Shift-ClassInstaller/ShiftClassInstaller.class.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shift-ClassInstaller/ShiftClassInstaller.class.st b/src/Shift-ClassInstaller/ShiftClassInstaller.class.st index e2e18fd48b7..669190c9c71 100644 --- a/src/Shift-ClassInstaller/ShiftClassInstaller.class.st +++ b/src/Shift-ClassInstaller/ShiftClassInstaller.class.st @@ -76,7 +76,7 @@ ShiftClassInstaller >> copyClassSlotsFromExistingClass [ ShiftClassInstaller >> copyObject: oldObject to: newClass [ | newObject hiddenSlots | - (newObject := (newClass isVariable) and: [oldClass isVariable]) + newObject := (newClass isVariable and: [oldClass isVariable]) ifTrue: [ newClass basicNew: oldObject size ] ifFalse: [ newClass basicNew ].