Adding some more details to mirams answer: You are trying to put value objects of different type and size into the same seq. But for seq and array all elements must have the same size. With ref that works, because ref is basically a pointer, and all have the same size. You may also consider sum types/object variants instead of your OOP like design.
- ObjectAssigmentError DavidM
- Re: ObjectAssigmentError miran
- Re: ObjectAssigmentError Stefan_Salewski
- Re: ObjectAssigmentError mratsim
