Re: What has happened to clone() in SE 2?
Peter Gummer <[email protected]> Thu, 17 Nov 2005 00:11:01 +1100
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Message-ID | <[email protected]> |
Oliver Elphick wrote: > yyy = clone(xxx) was useful for making a copy of an object that > might be > Void. > > How can this be done now? I think this is one of the ECMA Eiffel changes that the SmartEiffel team agreed with, thank goodness. Maybe we even have them to thank for proposing it :-) The ECMA Eiffel way to do it is yyy := xxx.twin. I'm pretty sure that's how you do it in SmartEiffel too. - Peter Gummer