Ruckus
07/11/2023, 9:59 PMcopy
function supposed to be reserved somehow for data objects? There's nothing about it in the 1.9.0 release notes, and the 1.8.20 release note say
Because adeclaration is intended to be used as a singleton object, nodata object
function is generated.copy()
Chris Lee
07/11/2023, 10:08 PMFrancesc
07/11/2023, 11:48 PMcopy
methods with default arguments. If you then define your own copy method, it won't compile because the method is already defined. It's not reserved, it's just that the method is automatically generated and your own one clashes with itChris Lee
07/11/2023, 11:48 PMdata object
construct that doesn’t support copy
as objects are singletons.Francesc
07/11/2023, 11:49 PMdata object
is just a singleton so a copy does't make sense.Chris Lee
07/11/2023, 11:50 PMRuckus
07/11/2023, 11:51 PMFrancesc
07/11/2023, 11:53 PMcopy
methodChris Lee
07/11/2023, 11:53 PMRuckus
07/11/2023, 11:59 PMChris Lee
07/11/2023, 11:59 PM